MultiImageCapture.xaml 1.3 KB

123456789101112131415161718192021
  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.MultiImageCapture">
  5. <ContentView.Content>
  6. <StackLayout Orientation="Vertical">
  7. <Label x:Name="addDeleteLbl" Text="Add photo(s) below:" HorizontalOptions="Center" VerticalOptions="Center"/>
  8. <ScrollView Orientation="Horizontal" x:Name="ImageScroller">
  9. <StackLayout x:Name="imagesStackLayout" Orientation="Horizontal" HeightRequest="150" HorizontalOptions="StartAndExpand" VerticalOptions="Fill"/>
  10. </ScrollView>
  11. <Grid>
  12. <Grid.ColumnDefinitions>
  13. <ColumnDefinition Width="*"/>
  14. <ColumnDefinition Width="*"/>
  15. </Grid.ColumnDefinitions>
  16. <Button x:Name="TakePhoto" Grid.Column="0" Text="Camera" Clicked="TakePhoto_Clicked" Padding="3" FontSize="Medium" TextColor="White" BackgroundColor="#15C7C1" FontAttributes="Bold"/>
  17. <Button x:Name="ChooseImage" Grid.Column="1" Text="Library" Clicked="ChooseImage_Clicked" Padding="3" FontSize="Medium" TextColor="White" BackgroundColor="#15C7C1" FontAttributes="Bold"/>
  18. </Grid>
  19. </StackLayout>
  20. </ContentView.Content>
  21. </ContentView>