You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
2.2 KiB

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
  4. x:Class="GMCabsDriverAssistantSolution.Views.PermissionCheckPage"
  5. xmlns:custom="clr-namespace:GMCabsDriverAssistantSolution.CustomControls"
  6. Shell.FlyoutBehavior="Disabled"
  7. Shell.NavBarIsVisible="False">
  8. <ContentPage.Resources>
  9. <ResourceDictionary>
  10. <Style x:Key="NoUnderlineEntryFrameStyle" TargetType="Frame">
  11. <Setter Property="Padding" Value="16,4"></Setter>
  12. <Setter Property="CornerRadius" Value="12"></Setter>
  13. <Setter Property="Margin" Value="4,8,4,4"></Setter>
  14. <Setter Property="HasShadow" Value="True"></Setter>
  15. </Style>
  16. </ResourceDictionary>
  17. </ContentPage.Resources>
  18. <ContentPage.Content>
  19. <StackLayout Orientation="Vertical"
  20. BackgroundColor="#DCDCDC"
  21. Padding="10">
  22. <Image Source="{OnIdiom Phone='gmlogo.png',Tablet='gmlogo_tablet.png'}"
  23. Margin="{OnIdiom Phone='48,30,48,12',Tablet='0,-50,0,-50'}"
  24. Scale="{OnIdiom Phone='1.2',Tablet='0.3'}"/>
  25. <Label Text="GM Cabs require access to your location in order to send jobs to you. GM Cabs Driver App collects location data to enable identification of nearby Rydo bookings even when the app is closed or not in use."
  26. HorizontalTextAlignment="Center"
  27. Margin="20,20,20,0"
  28. FontSize="20"
  29. TextColor="Black"/>
  30. <Label Text="Please press the continue button below and allow the permissions request to use this application."
  31. HorizontalTextAlignment="Center"
  32. Margin="20,20,20,0"
  33. FontSize="20"
  34. TextColor="Black"/>
  35. <Button
  36. Text="Continue"
  37. VerticalOptions="EndAndExpand"
  38. FontSize="20"
  39. Clicked="OnPermissionCheckClicked"
  40. Margin="20,0,20,20"/>
  41. </StackLayout>
  42. </ContentPage.Content>
  43. </ContentPage>