|
|
- <?xml version="1.0" encoding="utf-8" ?>
- <toolkit:Popup xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
- xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
- x:Class="GMCabsDriverAssistantSolution.Views.AppPermissiontSetDialogPage"
- xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
- Size="380,380"
- Color="Transparent">
- <Frame BackgroundColor="White" CornerRadius="10">
- <StackLayout Orientation="Vertical">
- <StackLayout x:Name="PermissionAllocationLayout" VerticalOptions="StartAndExpand">
- <Label Text="To get reliable bookings notifications you need to change some settings for the Driver App"
- VerticalTextAlignment="Center"
- VerticalOptions="CenterAndExpand"
- HorizontalOptions="CenterAndExpand"
- FontSize="20"
- HorizontalTextAlignment="Center"
- FontFamily="Bold"/>
- <StackLayout VerticalOptions="EndAndExpand" Margin="10,2,0,0">
- <Button Text="Change" Clicked="Permission_Clicked" TextColor="White" FontSize="20" />
- </StackLayout>
- </StackLayout>
- <StackLayout x:Name="PermissionLayout" VerticalOptions="StartAndExpand" Orientation="Vertical">
- <StackLayout x:Name="LocationLayout" Orientation="Vertical" Margin="0,-40,0,0">
- <Label Text="Location Tracking needs to be set to always"
- VerticalTextAlignment="Center"
- VerticalOptions="CenterAndExpand"
- HorizontalOptions="CenterAndExpand"
- FontSize="20"
- HorizontalTextAlignment="Center"
- FontFamily="Bold"/>
- <StackLayout VerticalOptions="EndAndExpand" Margin="10,2,0,0">
- <Button Text="Change" Clicked="Location_Clicked" TextColor="White" FontSize="20" />
- </StackLayout>
- </StackLayout>
- <StackLayout x:Name="BatteyOptimisedLayout" Orientation="Vertical" Margin="0,10,0,0">
- <Label Text="You need to turn off battery optimisation for the Driver App"
- VerticalTextAlignment="Center"
- VerticalOptions="CenterAndExpand"
- HorizontalOptions="CenterAndExpand"
- FontSize="20"
- HorizontalTextAlignment="Center"
- FontFamily="Bold"/>
- <StackLayout VerticalOptions="EndAndExpand" Margin="10,2,0,0">
- <!--<Button Text="Change" Clicked="Batteryoptimisation_Clicked" TextColor="White" FontSize="20" />-->
- <Button Text="Change" Clicked="Batteryoptimisation_Clicked" TextColor="White" FontSize="20"></Button>
- </StackLayout>
- </StackLayout>
-
- </StackLayout>
- <StackLayout x:Name="LocationWarningLayout" VerticalOptions="StartAndExpand">
- <Label Text="If you ignore location tracking then bookings will be disabled"
- VerticalTextAlignment="Center"
- VerticalOptions="CenterAndExpand"
- HorizontalOptions="CenterAndExpand"
- FontSize="20"
- HorizontalTextAlignment="Center"
- FontFamily="Bold"/>
- <StackLayout VerticalOptions="EndAndExpand" Margin="10,2,0,0">
- <Button Text="Change" Clicked="ChangeLocation_Clicked" TextColor="White" FontSize="20" />
- </StackLayout>
- </StackLayout>
-
- <StackLayout VerticalOptions="EndAndExpand" Margin="10,10,0,10">
- <Button Text="Ignore" Clicked="Ignore_Clicked" TextColor="White" FontSize="20" />
- </StackLayout>
- </StackLayout>
- </Frame>
- </toolkit:Popup>
|