ItemPage.xaml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <!--
  2. Copyright © 2011-2012 Nokia Corporation. All rights reserved.
  3. Nokia and Nokia Connecting People are registered trademarks of Nokia Corporation.
  4. Other product and company names mentioned herein may be trademarks
  5. or trade names of their respective owners.
  6. See LICENSE.TXT for license information.
  7. -->
  8. <phone:PhoneApplicationPage
  9. x:Class="RSSReader.Views.ItemPage"
  10. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12. xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
  13. xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
  14. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  15. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  16. FontFamily="{StaticResource PhoneFontFamilyNormal}"
  17. FontSize="{StaticResource PhoneFontSizeNormal}"
  18. Foreground="{StaticResource PhoneForegroundBrush}"
  19. SupportedOrientations="Portrait" Orientation="Portrait"
  20. mc:Ignorable="d" d:DesignHeight="768" d:DesignWidth="480"
  21. shell:SystemTray.IsVisible="False">
  22. <Grid x:Name="LayoutRoot" Background="White">
  23. <Grid.RowDefinitions>
  24. <RowDefinition Height="Auto"/>
  25. <RowDefinition Height="*"/>
  26. </Grid.RowDefinitions>
  27. <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
  28. <TextBlock x:Name="ApplicationTitle" Text="RSS READER" Style="{StaticResource PhoneTextNormalStyle}" Foreground="Black" />
  29. </StackPanel>
  30. <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
  31. <phone:WebBrowser HorizontalAlignment="Stretch" Name="browser" VerticalAlignment="Stretch" Visibility="Collapsed" />
  32. </Grid>
  33. </Grid>
  34. <phone:PhoneApplicationPage.ApplicationBar>
  35. <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True" BackgroundColor="White" ForegroundColor="Black">
  36. <shell:ApplicationBarIconButton IconUri="/Resources/appbar.next.rest.png" Text="Show original" Click="LaunchInBrowser" />
  37. </shell:ApplicationBar>
  38. </phone:PhoneApplicationPage.ApplicationBar>
  39. </phone:PhoneApplicationPage>