MultiImageCapture.xaml 1.4 KB

123456789101112131415161718192021222324252627282930
  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. xmlns:mobile="clr-namespace:InABox.Mobile;assembly=InABox.Mobile.Shared"
  5. x:Class="PRS.Mobile.MultiImageCapture">
  6. <ContentView.Content>
  7. <StackLayout Orientation="Vertical">
  8. <Label x:Name="addDeleteLbl" Text="Add photo(s) below:" HorizontalOptions="Center" VerticalOptions="Center" TextColor="Black"/>
  9. <ScrollView Orientation="Horizontal" x:Name="ImageScroller">
  10. <StackLayout x:Name="imagesStackLayout" Orientation="Horizontal" HeightRequest="150" HorizontalOptions="StartAndExpand" VerticalOptions="Fill"/>
  11. </ScrollView>
  12. <Grid>
  13. <Grid.ColumnDefinitions>
  14. <ColumnDefinition Width="*"/>
  15. <ColumnDefinition Width="*"/>
  16. </Grid.ColumnDefinitions>
  17. <mobile:MobileButton
  18. x:Name="TakePhoto"
  19. Grid.Column="0"
  20. Text="Camera"
  21. Clicked="TakePhoto_Clicked" />
  22. <mobile:MobileButton
  23. x:Name="ChooseImage"
  24. Grid.Column="1"
  25. Text="Library"
  26. Clicked="ChooseImage_Clicked" />
  27. </Grid>
  28. </StackLayout>
  29. </ContentView.Content>
  30. </ContentView>