Subversion Repository Public Repository

Nextrek

Diff Revisions 38 vs 39 for /WindowsPhone/NotizieTL/NotizieTL/MainPage.xaml

Diff revisions: vs.
  @@ -14,7 +14,7 @@
14 14 FontSize="{StaticResource PhoneFontSizeNormal}"
15 15 Foreground="{StaticResource PhoneForegroundBrush}"
16 16 SupportedOrientations="Portrait" Orientation="Portrait"
17 - shell:SystemTray.IsVisible="True" Loaded="PhoneApplicationPage_Loaded" DataContext="{Binding}" LayoutUpdated="PhoneApplicationPage_LayoutUpdated" BackKeyPress="PhoneApplicationPage_BackKeyPress" >
17 + shell:SystemTray.IsVisible="True" Loaded="PhoneApplicationPage_Loaded" DataContext="{Binding}" BackKeyPress="PhoneApplicationPage_BackKeyPress" >
18 18
19 19
20 20
  @@ -23,10 +23,10 @@
23 23
24 24
25 25
26 - <Image Width="50" Height="50" Margin="20,20,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Source="/images/ic_logo_loader.png"></Image>
26 + <Image Width="50" Height="50" Margin="20,20,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Source="/NotizieTL;component/images/ic_logo_loader.png"></Image>
27 27
28 28 <!--Pivot Control-->
29 - <controls:Pivot Title=" POWERED BY NEXTREK" Margin="0,30,0,0" Foreground="{StaticResource PhoneAccentBrush}" x:Name="pivot" SelectionChanged="Pivot_SelectionChanged" ManipulationCompleted="pivot_ManipulationCompleted" Loaded="pivot_Loaded" >
29 + <controls:Pivot Title=" POWERED BY NEXTREK" Margin="0,30,0,0" Foreground="{StaticResource PhoneAccentBrush}" x:Name="pivot" SelectionChanged="Pivot_SelectionChanged" >
30 30
31 31 <controls:Pivot.TitleTemplate>
32 32 <DataTemplate>
  @@ -41,7 +41,7 @@
41 41 <!--Pivot item one-->
42 42 <controls:PivotItem Header="notizie">
43 43 <!--Double line list with text wrapping-->
44 - <ListBox Name="feedListBoxNews1" Visibility="Collapsed" Margin="-12,-20,-12,0" ItemsSource="{Binding Items}" ScrollViewer.VerticalScrollBarVisibility="Auto" Hold="feedListBoxNews1_Hold" SelectionChanged="feedListBox_SelectionChanged" LayoutUpdated="feedListBoxNews1_LayoutUpdated" ManipulationCompleted="feedListBoxNews1_ManipulationCompleted" Loaded="feedListBoxNews1_Loaded">
44 + <ListBox Name="feedListBoxNews1" Visibility="Visible" Margin="-12,-20,-12,0" ItemsSource="{Binding Items}" ScrollViewer.VerticalScrollBarVisibility="Auto" Hold="feedListBoxNews1_Hold" SelectionChanged="feedListBox_SelectionChanged" >
45 45
46 46 <ListBox.ItemTemplate>
47 47 <DataTemplate>
  @@ -58,7 +58,7 @@
58 58
59 59
60 60 <!--<Image Height="200" Width="200" Margin="12,0,9,0" Source="{Binding Links[1].Uri}" VerticalAlignment="Top" />-->
61 - <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" ManipulationCompleted="titolo1_ManipulationCompleted" LayoutUpdated="titolo1_LayoutUpdated"></TextBlock>
61 + <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 62
63 63
64 64 <TextBlock x:Name="testo1" Text="{Binding Testo}" Height="65" TextWrapping="Wrap" Margin="22,0,12,0" FontFamily="Arial" FontSize="18" VerticalAlignment="Top" Foreground="Black"/>
  @@ -84,7 +84,7 @@
84 84 <!--Replace rectangle with image-->
85 85
86 86 <!--<Image Height="200" Width="200" Margin="12,0,9,0" Source="{Binding Links[1].Uri}" VerticalAlignment="Top" />-->
87 - <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" ManipulationCompleted="titolo1_ManipulationCompleted" LayoutUpdated="titolo1_LayoutUpdated"></TextBlock>
87 + <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 88 <TextBlock x:Name="testo1" Text="{Binding Testo}" Height="65" TextWrapping="Wrap" Margin="22,0,32,0" FontFamily="Arial" FontSize="18" VerticalAlignment="Top" Foreground="Black"/>
89 89 <TextBlock x:Name="data1" Text="{Binding DataPub}" TextWrapping="Wrap" Margin="22,0,12,8" FontFamily="Arial" FontSize="18" Foreground="Green"/>
90 90 <Image Source="/images/separator.png"></Image>
  @@ -126,9 +126,12 @@
126 126
127 127 <TextBlock x:Name="noFavoritesText" Width="480" Foreground="{StaticResource PhoneAccentBrush}" TextAlignment="Center" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center" Visibility="Collapsed">Nessuna notizia aggiunta ai preferiti</TextBlock>
128 128
129 - <StackPanel x:Name="loadingPanel" Orientation="Vertical" VerticalAlignment="Center" Width="480">
130 - <TextBlock HorizontalAlignment="Center" Foreground="{StaticResource PhoneAccentBrush}">Caricamento</TextBlock>
131 - <toolkit:PerformanceProgressBar Name="caricamentoProgress" IsIndeterminate="True" Foreground="{StaticResource PhoneAccentBrush}" Visibility="Visible"/>
129 + <StackPanel x:Name="loadingPanel" Orientation="Vertical" VerticalAlignment="Center" Width="480" Visibility="Collapsed">
130 + <Canvas x:Name="sfondoLoading" Background="White" Width="480" Height="650" Margin="0,190,0,0"></Canvas>
131 + <StackPanel Orientation="Vertical" Margin="0,-400,0,0">
132 + <TextBlock HorizontalAlignment="Center" Foreground="{StaticResource PhoneAccentBrush}">Caricamento</TextBlock>
133 + <toolkit:PerformanceProgressBar Name="caricamentoProgress" IsIndeterminate="True" Foreground="{StaticResource PhoneAccentBrush}" />
134 + </StackPanel>
132 135 </StackPanel>
133 136
134 137 <Canvas x:Name="notiziaCanvas" Visibility="Collapsed" Background="White">
  @@ -163,13 +166,20 @@
163 166 </Canvas>
164 167
165 168
166 - <TextBlock Height="35" Width="300" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="65,11,0,0" Foreground="{StaticResource PhoneAccentBrush}" TextAlignment="Center" TextWrapping="Wrap" FontSize="24" FontFamily="Segoe WP">NOTIZIE TUTTO LAVORO</TextBlock>
169 + <TextBlock x:Name="nomeAppTesto" Height="35" Width="300" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="65,11,0,0" Foreground="{StaticResource PhoneAccentBrush}" TextAlignment="Center" TextWrapping="Wrap" FontSize="24" FontFamily="Segoe WP">NOTIZIE TUTTO LAVORO</TextBlock>
167 170
168 - <Button x:Name="refreshButton" Width="77" Height="77" BorderThickness="0" Margin="0,4,33,0" VerticalAlignment="Top" HorizontalAlignment="Right" Click="refreshButton_Click">
171 + <Button x:Name="refreshButton" Width="77" Height="77" BorderThickness="0" Margin="0,4,33,0" VerticalAlignment="Top" HorizontalAlignment="Right" Click="refreshButton_Click" Style="{StaticResource ButtonStyleReload}">
169 172 <Button.Background>
170 - <ImageBrush ImageSource="/images/reload_04P.png"></ImageBrush>
173 + <ImageBrush ImageSource="/images/reloadGray.png"></ImageBrush>
171 174 </Button.Background>
172 175 </Button>
176 +
177 +
178 + <Canvas x:Name="splashScreenCanvas" Visibility="Collapsed">
179 + <Canvas.Background>
180 + <ImageBrush ImageSource="/images/sfondo.jpg"></ImageBrush>
181 + </Canvas.Background>
182 + </Canvas>
173 183
174 184
175 185 <!--<Canvas Width="53" Height="53" Background="Gray" Margin="0,16,45,0" VerticalAlignment="Top" HorizontalAlignment="Right"></Canvas>