Privacy policy page implemented
This commit is contained in:
parent
d931b840dc
commit
4eb122a48c
@ -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>
|
@ -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();
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user