ConsignmentCompletionPage.xaml 4.3 KB

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