IF.Lastfm/IF.Lastfm.Demo.Apollo/MainPage.xaml

48 lines
2.5 KiB
Plaintext
Raw Normal View History

2013-06-14 17:44:55 +01:00
<phone:PhoneApplicationPage
x:Class="IF.Lastfm.Demo.Apollo.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
xmlns:behaviors="clr-namespace:Cimbalino.Phone.Toolkit.Behaviors;assembly=Cimbalino.Phone.Toolkit"
xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
mc:Ignorable="d"
FontFamily="{StaticResource PhoneFontFamilyNormal}"
FontSize="{StaticResource PhoneFontSizeNormal}"
Foreground="{StaticResource PhoneForegroundBrush}"
SupportedOrientations="Portrait" Orientation="Portrait"
shell:SystemTray.IsVisible="True">
<i:Interaction.Behaviors>
<behaviors:MultiApplicationBarBehavior x:Name="MultiApplicationBar">
<behaviors:ApplicationBar>
<behaviors:ApplicationBarIconButton Click="OnDoneClick"
IconUri="/Toolkit.Content/ApplicationBar.Check.png"
Text="done" />
</behaviors:ApplicationBar>
</behaviors:MultiApplicationBarBehavior>
</i:Interaction.Behaviors>
<Grid x:Name="LayoutRoot" Background="Transparent">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
<TextBlock Text="LASTFM-WP DEMO APP" Style="{StaticResource PhoneTextNormalStyle}" Margin="12,0"/>
<TextBlock Text="setup" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}"/>
</StackPanel>
<StackPanel x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
<toolkit:PhoneTextBox x:Name="ApiKey" Hint="Api key"/>
<toolkit:PhoneTextBox x:Name="ApiSecret" Hint="Api secret"/>
<toolkit:PhoneTextBox x:Name="Username" Hint="Username"/>
<toolkit:PhoneTextBox x:Name="Password" Hint="Password"/>
</StackPanel>
</Grid>
</phone:PhoneApplicationPage>