|
@@ -13,8 +13,10 @@ |
13 |
13 |
|
FontFamily="{StaticResource PhoneFontFamilyNormal}" |
14 |
14 |
|
FontSize="{StaticResource PhoneFontSizeNormal}" |
15 |
15 |
|
Foreground="{StaticResource PhoneForegroundBrush}" |
16 |
|
- |
SupportedOrientations="PortraitOrLandscape" Orientation="Portrait" |
|
16 |
+ |
SupportedOrientations="Portrait" Orientation="Portrait" |
17 |
17 |
|
shell:SystemTray.IsVisible="True" Loaded="PhoneApplicationPage_Loaded" DataContext="{Binding}" BackKeyPress="PhoneApplicationPage_BackKeyPress" OrientationChanged="PhoneApplicationPage_OrientationChanged"> |
|
18 |
+ |
|
|
19 |
+ |
|
18 |
20 |
|
|
19 |
21 |
|
<!--LayoutRoot is the root grid where all page content is placed--> |
20 |
22 |
|
<Grid x:Name="LayoutRoot" Background="White"> |
|
@@ -37,11 +39,11 @@ |
37 |
39 |
|
<!--Pivot item one--> |
38 |
40 |
|
<controls:PivotItem Header="notizie"> |
39 |
41 |
|
<!--Double line list with text wrapping--> |
40 |
|
- |
<ListBox Name="feedListBoxNews1" Visibility="Visible" Margin="-12,-20,-12,0" ItemsSource="{Binding Items}" ScrollViewer.VerticalScrollBarVisibility="Auto" SelectionChanged="feedListBox_SelectionChanged" > |
|
42 |
+ |
<ListBox Name="feedListBoxNews1" Visibility="Visible" Margin="-12,-20,-12,0" ItemsSource="{Binding Items}" ScrollViewer.VerticalScrollBarVisibility="Auto" SelectionChanged="feedListBox_SelectionChanged" Loaded="feedListBoxNews1_Loaded"> |
41 |
43 |
|
|
42 |
44 |
|
<ListBox.ItemTemplate> |
43 |
45 |
|
<DataTemplate> |
44 |
|
- |
<StackPanel x:Name="boxArticolo" Margin="0,0,0,0" Width="480" Tap="boxArticolo_Tap" Loaded="boxArticolo_Loaded"> |
|
46 |
+ |
<StackPanel x:Name="boxArticolo" Margin="0,0,0,0" Width="480" Tap="boxArticolo_Tap" Loaded="boxArticolo_Loaded" Background="{Binding Colore}"> |
45 |
47 |
|
|
46 |
48 |
|
<!--<toolkit:ContextMenuService.ContextMenu> |
47 |
49 |
|
<toolkit:ContextMenu VerticalOffset="0.0"> |
|
@@ -55,6 +57,7 @@ |
55 |
57 |
|
<TextBlock x:Name="titolo1" Text="{Binding Titolo}" Width="420" Height="60" VerticalAlignment="Stretch" HorizontalAlignment="Center" TextAlignment="Left" Margin="-20,5,0,0" TextWrapping="Wrap" FontFamily="Arial Black" FontSize="20" Foreground="#FF008DFF" ></TextBlock> |
56 |
58 |
|
<TextBlock x:Name="testo1" Text="{Binding Testo}" Height="65" TextWrapping="Wrap" Margin="22,0,12,0" FontFamily="Arial" FontSize="18" VerticalAlignment="Top" Foreground="Black"/> |
57 |
59 |
|
<TextBlock x:Name="data1" Text="{Binding DataPub}" TextWrapping="Wrap" Margin="22,0,12,8" FontFamily="Arial" FontSize="18" Foreground="Green"/> |
|
60 |
+ |
<!--<TextBlock x:Name="numeroArticolo" Text="{Binding Numero}" Foreground="Black"></TextBlock>--> |
58 |
61 |
|
<Image Source="/images/separator.png"></Image> |
59 |
62 |
|
|
60 |
63 |
|
</StackPanel> |
|
@@ -118,7 +121,7 @@ |
118 |
121 |
|
<TextBlock x:Name="titleCanvas" Width="450" Height="85" VerticalAlignment="Center" Margin="20,20,20,5" TextWrapping="Wrap" TextAlignment="Left" FontFamily="Arial Black" FontSize="20" Foreground="#FF008DFF" ></TextBlock> |
119 |
122 |
|
<TextBlock x:Name="dateCanvas" Width="450" Margin="20,0,20,5" FontFamily="Arial" FontSize="18" Foreground="Green"></TextBlock> |
120 |
123 |
|
<StackPanel> |
121 |
|
- |
<TextBox x:Name="boxNote" Margin="0,0,10,0" Height="150" Background="#FFDEDEDE" Visibility="Visible" GotFocus="boxNote_GotFocus" LostFocus="boxNote_LostFocus" ></TextBox> |
|
124 |
+ |
<TextBox x:Name="boxNote" Margin="0,0,10,0" Height="150" Background="#FFDEDEDE" TextWrapping="Wrap" Visibility="Visible" GotFocus="boxNote_GotFocus" LostFocus="boxNote_LostFocus" ></TextBox> |
122 |
125 |
|
</StackPanel> |
123 |
126 |
|
|
124 |
127 |
|
<Grid x:Name="grigliaTesto" Margin="-10,0,0,0" > |
|
@@ -165,8 +168,8 @@ |
165 |
168 |
|
</Button> |
166 |
169 |
|
|
167 |
170 |
|
|
168 |
|
- |
<StackPanel x:Name="loadingPanel2" Height="800" Width="480" Visibility="Collapsed"> |
169 |
|
- |
<Canvas Width="480" Height="800" Margin="0,0,0,0"> |
|
171 |
+ |
<StackPanel x:Name="loadingPanel2" Visibility="Collapsed"> |
|
172 |
+ |
<Canvas Width="1000" Height="800" Margin="0,0,0,0"> |
170 |
173 |
|
<Canvas.Background> |
171 |
174 |
|
<ImageBrush ImageSource="/images/backSmoothCanvas480x800.png" /> |
172 |
175 |
|
</Canvas.Background> |
|
@@ -213,6 +216,7 @@ |
213 |
216 |
|
</Canvas> |
214 |
217 |
|
|
215 |
218 |
|
</Grid> |
|
219 |
+ |
|
216 |
220 |
|
|
217 |
221 |
|
<!--Sample code showing usage of ApplicationBar--> |
218 |
222 |
|
<phone:PhoneApplicationPage.ApplicationBar> |