ConsignmentCompletionPage.xaml 4.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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.ConsignmentCompletionPage">
  6. <mobile:MobilePage.PrimaryMenu>
  7. <ImageButton Source="save" Clicked="ConfirmBtn_Clicked"/>
  8. </mobile:MobilePage.PrimaryMenu>
  9. <mobile:MobilePage.PageContent>
  10. <ScrollView>
  11. <StackLayout Margin="10">
  12. <!--Row 0 Title-->
  13. <Frame HasShadow="False" BorderColor="Gray" Padding="10" CornerRadius="10">
  14. <material:MaterialLabel x:Name="titleLbl" Text="" TypeScale="H6" HorizontalTextAlignment="Center" Margin="5" HorizontalOptions="Center"/>
  15. </Frame>
  16. <!--Row 1 Confirm items-->
  17. <material:MaterialLabel Text="Line Items on Consignment" TypeScale="H6" HorizontalTextAlignment="Start" Margin="5"/>
  18. <Frame HasShadow="False" Padding="10" BorderColor="Gray" CornerRadius="10">
  19. <Grid>
  20. <Grid.RowDefinitions>
  21. <RowDefinition Height="auto"/>
  22. <RowDefinition Height="auto"/>
  23. <RowDefinition Height="auto"/>
  24. <RowDefinition Height="auto"/>
  25. <RowDefinition Height="auto"/>
  26. </Grid.RowDefinitions>
  27. <Grid.ColumnDefinitions>
  28. <ColumnDefinition Width="4*"/>
  29. <ColumnDefinition Width="*"/>
  30. </Grid.ColumnDefinitions>
  31. <Label Grid.Row="0" Grid.Column="0" Text="Total Received: "
  32. FontSize="Medium" FontAttributes="Bold"/>
  33. <Label Grid.Row="0" Grid.Column="1" x:Name="totalReceivedNumberLbl" HorizontalOptions="Center" VerticalOptions="Center"
  34. FontSize="Medium" FontAttributes="Bold"/>
  35. </Grid>
  36. </Frame>
  37. <!--Row 2 Photos-->
  38. <material:MaterialLabel x:Name="photosLbl" Text="Photos" TypeScale="H6" HorizontalTextAlignment="Start" Margin="5"/>
  39. <Frame HasShadow="False" Padding="10" BorderColor="Red" x:Name="photosFrame" CornerRadius="10">
  40. <StackLayout Orientation="Vertical">
  41. <Label Text="Tap on photo to view / delete" HorizontalOptions="Center" VerticalOptions="Center"/>
  42. <ScrollView Orientation="Horizontal" x:Name="ImageScroller" IsVisible="false">
  43. <StackLayout x:Name="images" Orientation="Horizontal" HeightRequest="150" HorizontalOptions="StartAndExpand" VerticalOptions="Fill"/>
  44. </ScrollView>
  45. <Grid>
  46. <Grid.ColumnDefinitions>
  47. <ColumnDefinition Width="*"/>
  48. <ColumnDefinition Width="*"/>
  49. </Grid.ColumnDefinitions>
  50. <Button x:Name="TakePhoto" Grid.Column="0" Text="Camera" Clicked="TakePhoto_Clicked" Padding="3" FontSize="Medium" TextColor="White" BackgroundColor="#15C7C1" FontAttributes="Bold"/>
  51. <Button x:Name="ChooseImage" Grid.Column="1" Text="Library" Clicked="ChooseImage_Clicked" Padding="3" FontSize="Medium" TextColor="White" BackgroundColor="#15C7C1" FontAttributes="Bold"/>
  52. </Grid>
  53. </StackLayout>
  54. </Frame>
  55. <!--Row 3 Description -->
  56. <material:MaterialLabel Text="Description (type to add more issues):" TypeScale="H6" HorizontalTextAlignment="Start" Margin="5"/>
  57. <Frame HasShadow="False" Padding="10" BorderColor="Gray" CornerRadius="10">
  58. <Editor x:Name="descriptionLbl" AutoSize="TextChanges" VerticalOptions="Center" FontSize="Medium"/>
  59. </Frame>
  60. </StackLayout>
  61. </ScrollView>
  62. </mobile:MobilePage.PageContent>
  63. </mobile:MobilePage>