|
@@ -16,12 +16,8 @@ |
16 |
16 |
|
SupportedOrientations="PortraitOrLandscape" Orientation="Portrait" |
17 |
17 |
|
shell:SystemTray.IsVisible="True" Loaded="PhoneApplicationPage_Loaded" DataContext="{Binding}" BackKeyPress="PhoneApplicationPage_BackKeyPress" OrientationChanged="PhoneApplicationPage_OrientationChanged"> |
18 |
18 |
|
|
19 |
|
- |
|
20 |
|
- |
|
21 |
19 |
|
<!--LayoutRoot is the root grid where all page content is placed--> |
22 |
20 |
|
<Grid x:Name="LayoutRoot" Background="White"> |
23 |
|
- |
|
24 |
|
- |
|
25 |
21 |
|
|
26 |
22 |
|
<Image Width="50" Height="50" Margin="20,20,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Source="/NotizieTL;component/images/ic_logo_loader.png"></Image> |
27 |
23 |
|
|
|
@@ -41,11 +37,11 @@ |
41 |
37 |
|
<!--Pivot item one--> |
42 |
38 |
|
<controls:PivotItem Header="notizie"> |
43 |
39 |
|
<!--Double line list with text wrapping--> |
44 |
|
- |
<ListBox Name="feedListBoxNews1" Visibility="Visible" Margin="-12,-20,-12,0" ItemsSource="{Binding Items}" ScrollViewer.VerticalScrollBarVisibility="Auto" Hold="feedListBoxNews1_Hold" SelectionChanged="feedListBox_SelectionChanged" > |
|
40 |
+ |
<ListBox Name="feedListBoxNews1" Visibility="Visible" Margin="-12,-20,-12,0" ItemsSource="{Binding Items}" ScrollViewer.VerticalScrollBarVisibility="Auto" SelectionChanged="feedListBox_SelectionChanged" > |
45 |
41 |
|
|
46 |
42 |
|
<ListBox.ItemTemplate> |
47 |
43 |
|
<DataTemplate> |
48 |
|
- |
<StackPanel x:Name="boxArticolo" Margin="0,0,0,0" Width="480" Hold="boxArticolo_Hold" Tap="boxArticolo_Tap" Loaded="boxArticolo_Loaded"> |
|
44 |
+ |
<StackPanel x:Name="boxArticolo" Margin="0,0,0,0" Width="480" Tap="boxArticolo_Tap" Loaded="boxArticolo_Loaded"> |
49 |
45 |
|
|
50 |
46 |
|
<!--<toolkit:ContextMenuService.ContextMenu> |
51 |
47 |
|
<toolkit:ContextMenu VerticalOffset="0.0"> |
|
@@ -55,12 +51,8 @@ |
55 |
51 |
|
|
56 |
52 |
|
|
57 |
53 |
|
<!--Replace rectangle with image--> |
58 |
|
- |
|
59 |
|
- |
|
60 |
54 |
|
<!--<Image Height="200" Width="200" Margin="12,0,9,0" Source="{Binding Links[1].Uri}" VerticalAlignment="Top" />--> |
61 |
55 |
|
<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> |
62 |
|
- |
|
63 |
|
- |
|
64 |
56 |
|
<TextBlock x:Name="testo1" Text="{Binding Testo}" Height="65" TextWrapping="Wrap" Margin="22,0,12,0" FontFamily="Arial" FontSize="18" VerticalAlignment="Top" Foreground="Black"/> |
65 |
57 |
|
<TextBlock x:Name="data1" Text="{Binding DataPub}" TextWrapping="Wrap" Margin="22,0,12,8" FontFamily="Arial" FontSize="18" Foreground="Green"/> |
66 |
58 |
|
<Image Source="/images/separator.png"></Image> |
|
@@ -82,7 +74,6 @@ |
82 |
74 |
|
<CheckBox IsChecked="{Binding IsChecked}" Checked="CheckBox_Checked" Unchecked="CheckBox_Unchecked" Margin="10,0,0,0" /> |
83 |
75 |
|
<StackPanel x:Name="boxArticoloPreferito" Width="420" Orientation="Vertical" Margin="0,0,0,0" Tap="articoloPreferitoPanel_Tap" Loaded="boxArticoloPreferito_Loaded"> |
84 |
76 |
|
<!--Replace rectangle with image--> |
85 |
|
- |
|
86 |
77 |
|
<!--<Image Height="200" Width="200" Margin="12,0,9,0" Source="{Binding Links[1].Uri}" VerticalAlignment="Top" />--> |
87 |
78 |
|
<TextBlock x:Name="titolo1" Text="{Binding Titolo}" Width="360" Height="60" VerticalAlignment="Stretch" HorizontalAlignment="Center" TextAlignment="Left" Margin="-10,5,0,0" TextWrapping="Wrap" FontFamily="Arial Black" FontSize="20" Foreground="#FF008DFF" ></TextBlock> |
88 |
79 |
|
<TextBlock x:Name="testo1" Text="{Binding Testo}" Height="65" TextWrapping="Wrap" Margin="22,0,32,0" FontFamily="Arial" FontSize="18" VerticalAlignment="Top" Foreground="Black"/> |
|
@@ -93,9 +84,6 @@ |
93 |
84 |
|
</DataTemplate> |
94 |
85 |
|
</ListBox.ItemTemplate> |
95 |
86 |
|
</ListBox> |
96 |
|
- |
|
97 |
|
- |
|
98 |
|
- |
|
99 |
87 |
|
</controls:PivotItem> |
100 |
88 |
|
|
101 |
89 |
|
<!--Pivot item three--> |
|
@@ -104,19 +92,14 @@ |
104 |
92 |
|
<ListBox Name="feedListBoxNews3" Margin="0,-20,-12,5" ItemsSource="{Binding Items}" ScrollViewer.VerticalScrollBarVisibility="Auto" SelectionChanged="feedListBox3_SelectionChanged" > |
105 |
93 |
|
<ListBox.ItemTemplate> |
106 |
94 |
|
<DataTemplate> |
107 |
|
- |
|
108 |
95 |
|
<StackPanel x:Name="pannello3" Orientation="Horizontal" Margin="0,0,0,17" Background="Transparent"> |
109 |
96 |
|
<!--Replace rectangle with image--> |
110 |
97 |
|
<Image Height="200" Width="200" Margin="12,0,9,0" Source="{Binding Icona}" VerticalAlignment="Top" /> |
111 |
98 |
|
<StackPanel Orientation="Vertical" VerticalAlignment="Center"> |
112 |
99 |
|
<TextBlock Text="{Binding Titolo}" Width="230" TextWrapping="Wrap" FontFamily="Arial Black" FontSize="20" Foreground="#FF539EDE" TextAlignment="Center"/> |
113 |
100 |
|
<TextBlock Text="{Binding Testo}" TextWrapping="Wrap" Margin="12,-6,12,0" FontFamily="Arial" FontSize="18" VerticalAlignment="Top" Foreground="White" TextAlignment="Center"/> |
114 |
|
- |
|
115 |
101 |
|
</StackPanel> |
116 |
|
- |
|
117 |
|
- |
<!--<TextBlock Text="{Binding DataPub, Converter={StaticResource RssTextTrimmer}}" TextWrapping="Wrap" Margin="12,0,12,0" FontFamily="Arial" FontSize="18" VerticalAlignment="Top" Foreground="White"/>--> |
118 |
102 |
|
</StackPanel> |
119 |
|
- |
|
120 |
103 |
|
</DataTemplate> |
121 |
104 |
|
</ListBox.ItemTemplate> |
122 |
105 |
|
</ListBox> |
|
@@ -135,7 +118,7 @@ |
135 |
118 |
|
<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> |
136 |
119 |
|
<TextBlock x:Name="dateCanvas" Width="450" Margin="20,0,20,5" FontFamily="Arial" FontSize="18" Foreground="Green"></TextBlock> |
137 |
120 |
|
<StackPanel> |
138 |
|
- |
<TextBox x:Name="boxNote" Margin="0,0,10,0" Height="150" Background="#FFDEDEDE" Visibility="Visible" TextChanged="boxNote_TextChanged" KeyDown="boxNote_KeyDown" KeyUp="boxNote_KeyUp" GotFocus="boxNote_GotFocus" LostFocus="boxNote_LostFocus" ></TextBox> |
|
121 |
+ |
<TextBox x:Name="boxNote" Margin="0,0,10,0" Height="150" Background="#FFDEDEDE" Visibility="Visible" GotFocus="boxNote_GotFocus" LostFocus="boxNote_LostFocus" ></TextBox> |
139 |
122 |
|
</StackPanel> |
140 |
123 |
|
|
141 |
124 |
|
<Grid x:Name="grigliaTesto" Margin="-10,0,0,0" > |
|
@@ -223,23 +206,11 @@ |
223 |
206 |
|
<TextBlock FontSize="40" Width="430" Height="100" TextAlignment="Center" FontWeight="Bold" Foreground="White" Margin="0,15,0,0" >NOTA CANCELLATA</TextBlock> |
224 |
207 |
|
</Border> |
225 |
208 |
|
|
226 |
|
- |
|
227 |
|
- |
|
228 |
|
- |
|
229 |
209 |
|
<Canvas x:Name="splashScreenCanvas" Visibility="Collapsed"> |
230 |
210 |
|
<Canvas.Background> |
231 |
211 |
|
<ImageBrush ImageSource="/images/sfondo.jpg"></ImageBrush> |
232 |
212 |
|
</Canvas.Background> |
233 |
213 |
|
</Canvas> |
234 |
|
- |
|
235 |
|
- |
|
236 |
|
- |
<!--<Canvas Width="53" Height="53" Background="Gray" Margin="0,16,45,0" VerticalAlignment="Top" HorizontalAlignment="Right"></Canvas> |
237 |
|
- |
<Button x:Name="refreshButton" Width="77" Height="77" BorderThickness="0" Margin="0,4,33,0" VerticalAlignment="Top" HorizontalAlignment="Right" Click="refreshButton_Click"> |
238 |
|
- |
<Button.Background> |
239 |
|
- |
<ImageBrush ImageSource="/images/reload-icon_transparent.png"></ImageBrush> |
240 |
|
- |
</Button.Background> |
241 |
|
- |
</Button>--> |
242 |
|
- |
|
243 |
214 |
|
|
244 |
215 |
|
</Grid> |
245 |
216 |
|
|
|
@@ -247,14 +218,10 @@ |
247 |
218 |
|
<phone:PhoneApplicationPage.ApplicationBar> |
248 |
219 |
|
<shell:ApplicationBar IsVisible="false" IsMenuEnabled="True" Mode="Default" > |
249 |
220 |
|
<shell:ApplicationBarIconButton x:Name="appBarPrev" IconUri="/images/appbar.back.rest.png" Text="precedente" Click="appBarPrev_Click" /> |
250 |
|
- |
<!--<shell:ApplicationBarIconButton x:Name="appBarDelete" IsEnabled="False" IconUri="/images/appbar.delete.rest.png" Text="rimuovi selezionati" Click="appBarDelete_Click" />--> |
251 |
221 |
|
<shell:ApplicationBarIconButton x:Name="appBarAddNote" IconUri="/images/appbar.edit.rest.png" Text="aggiungi nota" Click="appBarAddNote_Click" /> |
252 |
222 |
|
<shell:ApplicationBarIconButton x:Name="appBarAddFavorites" IconUri="/images/appbar.favs.addto.rest.png" Text="aggiungi ai preferiti" Click="appBarAddFavorites_Click" /> |
253 |
223 |
|
<shell:ApplicationBarIconButton x:Name="appBarNext" IconUri="/images/appbar.next.rest.png" Text="successivo" Click="appBarNext_Click" /> |
254 |
224 |
|
<shell:ApplicationBar.MenuItems> |
255 |
|
- |
<!--<shell:ApplicationBarMenuItem x:Name="appBarZoomIn" Text="zoom in" Click="appBarZoomIn_Click" /> |
256 |
|
- |
<shell:ApplicationBarMenuItem x:Name="appBarZoomOut" Text="zoom out" Click="appBarZoomOut_Click"/>--> |
257 |
|
- |
<!--<shell:ApplicationBarMenuItem x:Name="appBarFullScreen" Text="schermo intero" Click="appBarFullScreen_Click"/>--> |
258 |
225 |
|
<shell:ApplicationBarMenuItem x:Name="appBarDelete" IsEnabled="False" Text="rimuovi selezionati" Click="appBarDelete_Click"/> |
259 |
226 |
|
<shell:ApplicationBarMenuItem x:Name="appBarCondividi" Text="condividi" Click="appBarCondividi_Click"/> |
260 |
227 |
|
<shell:ApplicationBarMenuItem x:Name="appBarInfo" Text="informazioni" Click="appBarinfo_Click"/> |