RecTransferPopup.xaml 3.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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"
  4. x:Class="comal.timesheets.RecTransferPopup"
  5. xmlns:material="clr-namespace:XF.Material.Forms.UI;assembly=XF.Material"
  6. material:MaterialNavigationPage.AppBarColor="#a2006d">
  7. <NavigationPage.TitleView>
  8. <Button Text="Back" FontSize="Medium" TextColor="White" VerticalOptions="Center" HorizontalOptions="Start" Clicked="BackBtn_Clicked"
  9. BackgroundColor="Transparent"/>
  10. </NavigationPage.TitleView>
  11. <timesheets:BasePage.PageContent>
  12. <ScrollView>
  13. <StackLayout>
  14. <Frame BorderColor="#9f4576" CornerRadius="10">
  15. <Grid>
  16. <Grid.RowDefinitions>
  17. <RowDefinition Height="auto"/>
  18. <RowDefinition Height="auto"/>
  19. <RowDefinition Height="auto"/>
  20. <RowDefinition Height="auto"/>
  21. </Grid.RowDefinitions>
  22. <Frame Grid.Row="0" BorderColor="#9f4576" CornerRadius="10" HasShadow="False">
  23. <StackLayout>
  24. <Label Text="Job: " HorizontalOptions="Center" FontSize="Medium" FontAttributes="Bold"/>
  25. <Button x:Name="jobBtn" Text="Change" Clicked="SelectJob_Clicked" HorizontalOptions="FillAndExpand"
  26. Padding="3" FontSize="Medium" TextColor="White" BackgroundColor="#15C7C1" FontAttributes="Bold" CornerRadius="5"/>
  27. </StackLayout>
  28. </Frame>
  29. <Frame Grid.Row="1" BorderColor="#9f4576" CornerRadius="10" HasShadow="False">
  30. <StackLayout>
  31. <Label Text="Finish: " HorizontalOptions="Center" FontSize="Medium" FontAttributes="Bold"/>
  32. <Button x:Name="styleBtn" Text="Change" Clicked="SelectStyle_Clicked" HorizontalOptions="FillAndExpand"
  33. Padding="3" FontSize="Medium" TextColor="White" BackgroundColor="#15C7C1" FontAttributes="Bold" CornerRadius="5"/>
  34. </StackLayout>
  35. </Frame>
  36. <Frame Grid.Row="2" BorderColor="#9f4576" CornerRadius="10" HasShadow="False">
  37. <StackLayout>
  38. <Label Text="Qty: " FontSize="Medium" FontAttributes="Bold" HorizontalOptions="CenterAndExpand" HorizontalTextAlignment="Center"/>
  39. <Entry x:Name="qty" HorizontalOptions="FillAndExpand" HorizontalTextAlignment="Center" TextChanged="Qty_Changed"/>
  40. </StackLayout>
  41. </Frame>
  42. <Frame Grid.Row="3" BorderColor="Transparent" HasShadow="False">
  43. <Button Text="Accept" HorizontalOptions="FillAndExpand" Clicked="AcceptBtn_Clicked" x:Name="accept_Btn"
  44. Padding="3" FontSize="Medium" TextColor="White" BackgroundColor="#15C7C1" FontAttributes="Bold" CornerRadius="5"/>
  45. </Frame>
  46. </Grid>
  47. </Frame>
  48. <Frame BorderColor="#9f4576" CornerRadius="10" HeightRequest="600" HasShadow="False">
  49. <StackLayout>
  50. <Label Text="Image" HorizontalOptions="Center" FontSize="Medium" FontAttributes="Bold"/>
  51. <Image x:Name="productImage" HorizontalOptions="Center" Margin="5"/>
  52. </StackLayout>
  53. </Frame>
  54. </StackLayout>
  55. </ScrollView>
  56. </timesheets:BasePage.PageContent>
  57. </timesheets:BasePage>