RecTransCompletion.xaml 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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.RecTransCompletion">
  6. <mobile:MobilePage.PrimaryMenu>
  7. <Button
  8. TextColor="White" BackgroundColor="Transparent" Margin="0" Padding="0"
  9. IsVisible="false" x:Name="saveBatchBtn"
  10. Text="Save" Clicked="SaveBatch_Clicked"/>
  11. </mobile:MobilePage.PrimaryMenu>
  12. <mobile:MobilePage.PageContent>
  13. <ScrollView>
  14. <StackLayout Margin="10">
  15. <!--Row 0 Notes-->
  16. <material:MaterialLabel Text="Notes" TypeScale="H6" HorizontalTextAlignment="Start" Margin="5" HorizontalOptions="Center"/>
  17. <Frame HasShadow="False" Padding="10" BorderColor="Red" CornerRadius="10" x:Name="notesFrame">
  18. <StackLayout>
  19. <Editor x:Name="notesEdt" AutoSize="TextChanges" VerticalOptions="Center" FontSize="Medium" TextChanged="NotesEdt_Changed"/>
  20. <Label Text="Commonly used notes (select to add)" HorizontalOptions="Center" FontAttributes="Bold"/>
  21. <FlexLayout
  22. x:Name="optionsFlexLayout" BackgroundColor="Transparent"
  23. Wrap="Wrap"
  24. Direction="Row"
  25. JustifyContent="SpaceEvenly"
  26. AlignItems="Start"
  27. AlignContent="Start">
  28. </FlexLayout>
  29. </StackLayout>
  30. </Frame>
  31. <!--Row 1 Photos-->
  32. <material:MaterialLabel x:Name="photosLbl" Text="Photos" TypeScale="H6" HorizontalTextAlignment="Start" Margin="5" HorizontalOptions="Center"/>
  33. <Frame HasShadow="False" Padding="10" BorderColor="Red" x:Name="photosFrame" CornerRadius="10">
  34. <StackLayout Orientation="Vertical">
  35. <Label Text="Tap on photo to view / delete" HorizontalOptions="Center" VerticalOptions="Center"/>
  36. <ScrollView Orientation="Horizontal" x:Name="ImageScroller" IsVisible="false">
  37. <StackLayout x:Name="images" Orientation="Horizontal" HeightRequest="150" HorizontalOptions="StartAndExpand" VerticalOptions="Fill"/>
  38. </ScrollView>
  39. <Grid>
  40. <Grid.ColumnDefinitions>
  41. <ColumnDefinition Width="*"/>
  42. <ColumnDefinition Width="*"/>
  43. </Grid.ColumnDefinitions>
  44. <Button x:Name="TakePhoto" Grid.Column="0" Text="Camera" Clicked="TakePhoto_Clicked" Padding="3" FontSize="Medium" TextColor="White" BackgroundColor="#15C7C1" FontAttributes="Bold"/>
  45. <Button x:Name="ChooseImage" Grid.Column="1" Text="Library" Clicked="ChooseImage_Clicked" Padding="3" FontSize="Medium" TextColor="White" BackgroundColor="#15C7C1" FontAttributes="Bold"/>
  46. </Grid>
  47. </StackLayout>
  48. </Frame>
  49. </StackLayout>
  50. </ScrollView>
  51. </mobile:MobilePage.PageContent>
  52. </mobile:MobilePage>