StoreRequiItem.xaml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ContentView xmlns="http://xamarin.com/schemas/2014/forms"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
  4. x:Class="comal.timesheets.CustomControls.StoreRequiItem">
  5. <ContentView.Content>
  6. <Frame Margin="5" Padding="2" CornerRadius="10" BorderColor="#087f23" HasShadow="False">
  7. <Grid>
  8. <Grid.RowDefinitions>
  9. <RowDefinition Height="auto"/>
  10. <!--row 0-->
  11. <RowDefinition Height="auto"/>
  12. <!--row 1-->
  13. </Grid.RowDefinitions>
  14. <Grid.ColumnDefinitions>
  15. <ColumnDefinition Width="60"/>
  16. <!--col 0-->
  17. <ColumnDefinition Width="60"/>
  18. <!--col 1-->
  19. <ColumnDefinition Width="*"/>
  20. <!--col 2-->
  21. <ColumnDefinition Width="60"/>
  22. <!--col 3-->
  23. </Grid.ColumnDefinitions>
  24. <!--col 0-->
  25. <Button Grid.Row="0" Grid.RowSpan="2" Grid.Column="0"
  26. x:Name="reduceQtyBtn" Text="-" Clicked="ReduceQtyBtn_Clicked"
  27. FontSize="Medium" TextColor="White" BackgroundColor="#15C7C1" FontAttributes="Bold" VerticalOptions="Center" Margin="5,0,0,0" CornerRadius="5"/>
  28. <!--col 1-->
  29. <Entry Grid.Row="0" Grid.RowSpan="2" Grid.Column="1"
  30. x:Name="qtyLbl" Text="" TextChanged="qtyEntry_Changed" Keyboard="Numeric" TextColor="DimGray"
  31. FontSize="Large" FontAttributes="Bold" HorizontalTextAlignment="Center" VerticalTextAlignment="Center" VerticalOptions="Center"/>
  32. <!--col 2-->
  33. <Label Grid.Row="0" Grid.Column="2"
  34. x:Name="productLbl" Text="Product Description"
  35. FontSize="Medium" FontAttributes="Bold" HorizontalTextAlignment="Start" VerticalTextAlignment="Center" VerticalOptions="Center"/>
  36. <!--row 1-->
  37. <Label Grid.Row="1" Grid.Column="2"
  38. x:Name="locationLbl" Text="Shelf Number"
  39. FontSize="Medium" FontAttributes="Bold" HorizontalTextAlignment="Start" VerticalTextAlignment="Center" VerticalOptions="Center"/>
  40. <!--col 3-->
  41. <Button Grid.Row="0" Grid.RowSpan="2" Grid.Column="3"
  42. x:Name="increaseQtyBtn" Text="+" Clicked="IncreaseQtyBtn_Clicked"
  43. FontSize="Medium" TextColor="White" BackgroundColor="#15C7C1" FontAttributes="Bold" VerticalOptions="Center" Margin="0,0,5,0" CornerRadius="5"/>
  44. </Grid>
  45. </Frame>
  46. </ContentView.Content>
  47. </ContentView>