summaryrefslogtreecommitdiff
path: root/Juick/MainPage.xaml
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2013-01-13 14:58:53 +0400
committerGravatar Vitaly Takmazov2013-01-13 14:58:53 +0400
commitd6393c7f8a5eb3a377abd7f5fadc299b1d30c293 (patch)
treea5902debfd543ab26a55c4b50b6ad7cf3fded59c /Juick/MainPage.xaml
parent36fa05d53ddbe4731deb8df937c188b0a7d7f4c3 (diff)
ProgressIndicator
Diffstat (limited to 'Juick/MainPage.xaml')
-rw-r--r--Juick/MainPage.xaml22
1 files changed, 15 insertions, 7 deletions
diff --git a/Juick/MainPage.xaml b/Juick/MainPage.xaml
index 87e2764..a06a305 100644
--- a/Juick/MainPage.xaml
+++ b/Juick/MainPage.xaml
@@ -14,17 +14,25 @@
FontSize="{StaticResource PhoneFontSizeNormal}"
Foreground="{StaticResource PhoneForegroundBrush}"
SupportedOrientations="PortraitOrLandscape" Orientation="Portrait"
- phoneshell:SystemTray.IsVisible="False">
+ phoneshell:SystemTray.IsVisible="True">
<phone:PhoneApplicationPage.Resources>
<ResourceDictionary>
<bindings:RichTextConverter x:Key="inlineConverter" />
</ResourceDictionary>
</phone:PhoneApplicationPage.Resources>
-
- <!--LayoutRoot is the root grid where all page content is placed-->
+
+ <!--LayoutRoot is the root grid where all page content is placed-->
<Grid x:Name="LayoutRoot" Background="Transparent">
-
- <!--Panorama control-->
+ <Grid.RowDefinitions>
+ <RowDefinition Height="Auto" />
+ <RowDefinition Height="*" />
+ </Grid.RowDefinitions>
+ <phoneshell:SystemTray.ProgressIndicator>
+ <phoneshell:ProgressIndicator IsIndeterminate="{Binding IsDataLoading}"
+ IsVisible="{Binding IsDataLoading}"
+ Text="Loading..." />
+ </phoneshell:SystemTray.ProgressIndicator>
+ <!--Panorama control-->
<!--<controls:Panorama Title="Juick20">-->
<!--<controls:Panorama.TitleTemplate>
<DataTemplate>
@@ -35,7 +43,7 @@
</Grid>
</DataTemplate>
</controls:Panorama.TitleTemplate>-->
- <controls:Pivot Title="juick">
+ <controls:Pivot Title="juick" Grid.Row="1">
<!--Use 'Orientation="Horizontal"' to enable a panel that lays out horizontally-->
<!--<controls:PanoramaItem x:Name="MainPanoramaItem" Header="My feed" Margin="0, -40, 0, 0">-->
@@ -153,7 +161,7 @@
<!--</controls:Panorama>-->
</controls:Pivot>
</Grid>
- <phone:PhoneApplicationPage.ApplicationBar>
+ <phone:PhoneApplicationPage.ApplicationBar>
<phoneshell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
<phoneshell:ApplicationBarIconButton IconUri="/Images/appbar.feature.email.rest.png" Text="New post" Click="ApplicationBarIconButtonClick1"/>
<phoneshell:ApplicationBarIconButton IconUri="/Images/appbar.refresh.rest.png" Text="Refresh" Click="ApplicationBarIconButtonClick" />