NewReplyNotification.xaml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <mobile:MobilePage xmlns:local="clr-namespace:PRS.Mobile" xmlns="http://xamarin.com/schemas/2014/forms"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:material="clr-namespace:XF.Material.Forms.UI;assembly=XF.Material"
  4. xmlns:mobile="clr-namespace:InABox.Mobile;assembly=InABox.Mobile.Shared"
  5. x:Class="PRS.Mobile.NewReplyNotification"
  6. Title="New Message">
  7. <mobile:MobilePage.PrimaryMenu>
  8. <mobile:MobileMenuButton
  9. x:Name="_send"
  10. Image="tick"
  11. Clicked="_send_OnClicked"/>
  12. </mobile:MobilePage.PrimaryMenu>
  13. <mobile:MobilePage.PageContent>
  14. <StackLayout>
  15. <ScrollView>
  16. <StackLayout Orientation="Vertical" VerticalOptions="StartAndExpand" Padding="5">
  17. <!--Row 1 Recipient-->
  18. <material:MaterialLabel Text="Recipient" TypeScale="H6" HorizontalTextAlignment="Start" Margin="5" />
  19. <Frame HasShadow="False" Padding="10" BorderColor="#15C7C1">
  20. <Grid>
  21. <Grid.ColumnDefinitions>
  22. <ColumnDefinition Width="auto"/>
  23. <ColumnDefinition Width="*"/>
  24. <ColumnDefinition Width="auto"/>
  25. </Grid.ColumnDefinitions>
  26. <Label Grid.Column="0" Text="To:" FontSize="Medium" FontAttributes="Bold" Margin="5" VerticalOptions="Center"/>
  27. <Label Grid.Column="1" x:Name="recipientNameLbl" LineBreakMode="WordWrap" VerticalOptions="Center" FontSize="Medium" FontAttributes="Bold" Margin="2"/>
  28. <Button Grid.Column="2" x:Name="selectRecipientBtn" Clicked="SelectRecipientBtn_Clicked" Text="Select" Padding="3" FontSize="Medium" TextColor="White" BackgroundColor="#15C7C1" FontAttributes="Bold" Margin="2" CornerRadius="5" MinimumHeightRequest="40"/>
  29. </Grid>
  30. </Frame>
  31. <!--Row 2 Notification Title-->
  32. <material:MaterialLabel Text="Notification Title" TypeScale="H6" HorizontalTextAlignment="Start" Margin="5" />
  33. <Frame x:Name="notificationTitleFrame" HasShadow="False" BorderColor="#15C7C1" Padding="10">
  34. <Editor x:Name="titleEdt" AutoSize="TextChanges" TextChanged="TitleEdt_Changed"/>
  35. </Frame>
  36. <!--Row 3 Description-->
  37. <material:MaterialLabel Text="Description" TypeScale="H6" HorizontalTextAlignment="Start" Margin="5"/>
  38. <Frame HasShadow="False" Padding="10" BorderColor="#15C7C1">
  39. <Editor x:Name="descriptionEdt" AutoSize="TextChanges" TextChanged="DescriptionEdt_Changed"/>
  40. </Frame>
  41. </StackLayout>
  42. </ScrollView>
  43. <!--Row 4 Photos-->
  44. <material:MaterialLabel x:Name="photosLbl" Text="Photos" TypeScale="H6" HorizontalTextAlignment="Start" Margin="5"/>
  45. <Frame HasShadow="False" Padding="10" BorderColor="#15C7C1" x:Name="photosFrame" Margin="5">
  46. <StackLayout Orientation="Vertical">
  47. <Label Text="Tap on photo to view / delete" HorizontalOptions="Center" VerticalOptions="Center"/>
  48. <ScrollView Orientation="Horizontal" x:Name="ImageScroller">
  49. <StackLayout x:Name="images" Orientation="Horizontal" HeightRequest="150" HorizontalOptions="StartAndExpand" VerticalOptions="Fill"/>
  50. </ScrollView>
  51. <Grid>
  52. <Grid.ColumnDefinitions>
  53. <ColumnDefinition Width="*"/>
  54. <ColumnDefinition Width="*"/>
  55. </Grid.ColumnDefinitions>
  56. <Button x:Name="TakePhoto" Grid.Column="0" Text="Camera" Clicked="TakePhoto_Clicked" Padding="3" FontSize="Medium" TextColor="White" BackgroundColor="#15C7C1" FontAttributes="Bold"/>
  57. <Button x:Name="ChooseImage" Grid.Column="1" Text="Library" Clicked="ChooseImage_Clicked" Padding="3" FontSize="Medium" TextColor="White" BackgroundColor="#15C7C1" FontAttributes="Bold"/>
  58. </Grid>
  59. </StackLayout>
  60. </Frame>
  61. </StackLayout>
  62. </mobile:MobilePage.PageContent>
  63. </mobile:MobilePage>