MultiImageCapture.xaml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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="PRS.Mobile.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
  17. x:Name="TakePhoto"
  18. Grid.Column="0"
  19. Text="Camera"
  20. Clicked="TakePhoto_Clicked"
  21. Padding="3"
  22. FontSize="Medium"
  23. TextColor="White"
  24. BackgroundColor="#15C7C1"
  25. FontAttributes="Bold"/>
  26. <Button
  27. x:Name="ChooseImage"
  28. Grid.Column="1"
  29. Text="Library"
  30. Clicked="ChooseImage_Clicked"
  31. Padding="3" FontSize="Medium"
  32. TextColor="White"
  33. BackgroundColor="#15C7C1"
  34. FontAttributes="Bold"/>
  35. </Grid>
  36. </StackLayout>
  37. </ContentView.Content>
  38. </ContentView>