Privacy policy page implemented

This commit is contained in:
Kaustav Chaudhuri 2023-05-26 14:07:58 +05:30
parent d931b840dc
commit 4eb122a48c
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,22 @@
<?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="300,300"
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="1000" HeightRequest="1000" />
</StackLayout>
</StackLayout>
</Frame>
</toolkit:Popup>

View File

@ -0,0 +1,16 @@
using CommunityToolkit.Maui.Views;
namespace GMCabsDriverAssistantSolution.Views;
public partial class PrivacyPolicyDialogPage : Popup
{
public PrivacyPolicyDialogPage()
{
InitializeComponent();
}
private void lblClose_Tapped(object sender, EventArgs e)
{
//Dismiss(null);
Close();
}
}