<?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.PrivacyPolicyDialogPage"
             xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
             Size="{OnIdiom Phone='350,520',Tablet='800,500'}"
             Color="Transparent">
    <Frame BackgroundColor="White" CornerRadius="10">
        <StackLayout Orientation="Vertical">
            <StackLayout VerticalOptions="EndAndExpand">
                <Label Text="X" FontSize="20" HorizontalOptions="EndAndExpand">
                    <Label.GestureRecognizers>
                        <TapGestureRecognizer Tapped="lblClose_Tapped"  />
                    </Label.GestureRecognizers>
                </Label>
            </StackLayout>
            <StackLayout VerticalOptions="CenterAndExpand">
                <WebView x:Name="privacyPolicyView" WidthRequest="1900" HeightRequest="1900" />
            </StackLayout>
        </StackLayout>
    </Frame>
</toolkit:Popup>