summaryrefslogtreecommitdiff
path: root/Juick/NewPostView.xaml
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2012-03-13 02:47:51 +0400
committerGravatar Vitaly Takmazov2012-03-13 02:47:51 +0400
commitea1bc13e7a6bbef3d16fb630ed7cd348d8a9e67c (patch)
tree04362f97bac727c5d35053be0d1db9c0fcad30f1 /Juick/NewPostView.xaml
parentadfdd7c1afd794fab5013fdad95aad8654326d3f (diff)
add push notifications stub
fix refreshing fix images fix orientation
Diffstat (limited to 'Juick/NewPostView.xaml')
-rw-r--r--Juick/NewPostView.xaml18
1 files changed, 8 insertions, 10 deletions
diff --git a/Juick/NewPostView.xaml b/Juick/NewPostView.xaml
index caa2b4f..9ad33f2 100644
--- a/Juick/NewPostView.xaml
+++ b/Juick/NewPostView.xaml
@@ -9,8 +9,8 @@
FontFamily="{StaticResource PhoneFontFamilyNormal}"
FontSize="{StaticResource PhoneFontSizeNormal}"
Foreground="{StaticResource PhoneForegroundBrush}"
- SupportedOrientations="Portrait" Orientation="Portrait"
- mc:Ignorable="d" d:DesignHeight="768" d:DesignWidth="480"
+ SupportedOrientations="PortraitOrLandscape" Orientation="Portrait"
+ mc:Ignorable="d" d:DesignHeight="696" d:DesignWidth="480"
shell:SystemTray.IsVisible="True">
<!--LayoutRoot is the root grid where all page content is placed-->
@@ -30,22 +30,20 @@
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
<TextBlock Height="30" HorizontalAlignment="Left" Margin="12,34,0,0" Name="textBlock1" Text="Write a message" VerticalAlignment="Top" />
<TextBox Height="333" HorizontalAlignment="Left" Margin="0,70,0,0" Name="textBox1" Text="" VerticalAlignment="Top" Width="450" TextWrapping="Wrap" MaxWidth="Infinity" />
- <Button Content="Publish" Height="72" HorizontalAlignment="Left" Margin="290,409,0,0" Name="button1" VerticalAlignment="Top" Width="160" Click="button1_Click" />
- <Button Content="Attach" Height="72" HorizontalAlignment="Left" Margin="0,409,0,0" Name="button2" VerticalAlignment="Top" Width="143" Click="button2_Click" />
<Image Height="150" HorizontalAlignment="Left" Margin="12,504,0,0" Name="image1" Stretch="Fill" VerticalAlignment="Top" Width="425" />
</Grid>
</Grid>
<!--Sample code showing usage of ApplicationBar-->
- <!--<phone:PhoneApplicationPage.ApplicationBar>
+ <phone:PhoneApplicationPage.ApplicationBar>
<shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
- <shell:ApplicationBarIconButton IconUri="/Images/appbar_button1.png" Text="Button 1"/>
- <shell:ApplicationBarIconButton IconUri="/Images/appbar_button2.png" Text="Button 2"/>
+ <shell:ApplicationBarIconButton x:Name="PostButton" IconUri="/Images/appbar.send.png" Text="Send" Click="Publish"/>
+ <shell:ApplicationBarIconButton IconUri="/Images/appbar.attach.png" Text="Attach" Click="AttachFile"/>
<shell:ApplicationBar.MenuItems>
- <shell:ApplicationBarMenuItem Text="MenuItem 1"/>
- <shell:ApplicationBarMenuItem Text="MenuItem 2"/>
+ <shell:ApplicationBarMenuItem x:Name="PostMenuItem" Text="Send" Click="Publish"/>
+ <shell:ApplicationBarMenuItem Text="Attach" Click="AttachFile"/>
</shell:ApplicationBar.MenuItems>
</shell:ApplicationBar>
- </phone:PhoneApplicationPage.ApplicationBar>-->
+ </phone:PhoneApplicationPage.ApplicationBar>
</phone:PhoneApplicationPage>