2022-10-03 17:55:10 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
2021-05-13 20:16:41 +02:00
|
|
|
<TabbedPage xmlns="http://xamarin.com/schemas/2014/forms"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
2024-04-09 12:53:23 +02:00
|
|
|
x:Class="ShareeBike.View.LegalInformation.LegalInformationPage"
|
|
|
|
xmlns:resources="clr-namespace:ShareeBike.MultilingualResources;assembly=SharedBusinessLogic"
|
2023-11-21 15:26:57 +01:00
|
|
|
Style="{StaticResource TabbedPageStyle}">
|
2023-08-31 12:31:38 +02:00
|
|
|
|
|
|
|
<TabbedPage.Resources>
|
|
|
|
<x:String x:Key="IconSmartphone"></x:String>
|
|
|
|
<x:String x:Key="IconPersonSafety"></x:String>
|
|
|
|
<x:String x:Key="IconDataSafety"></x:String>
|
|
|
|
<x:String x:Key="IconLegalInfo"></x:String>
|
|
|
|
</TabbedPage.Resources>
|
|
|
|
|
|
|
|
<Shell.TitleView>
|
2024-04-09 12:53:23 +02:00
|
|
|
<Grid ColumnDefinitions="Auto, 1*">
|
|
|
|
<Label Style="{StaticResource Label-Navbar}"
|
2023-11-21 15:26:57 +01:00
|
|
|
Text="{x:Static resources:AppResources.MarkingLegalInformation}"/>
|
2024-04-09 12:53:23 +02:00
|
|
|
</Grid>
|
|
|
|
</Shell.TitleView>
|
2023-08-31 12:31:38 +02:00
|
|
|
|
|
|
|
<!--Pages can be added as references or in line-->
|
|
|
|
<ContentPage
|
|
|
|
IsEnabled="{Binding IsIdle}"
|
|
|
|
Title="{x:Static resources:AppResources.MarkingTabApp}">
|
|
|
|
<ContentPage.IconImageSource>
|
|
|
|
<FontImageSource Glyph="{StaticResource IconSmartphone}" FontFamily="FA-S" />
|
|
|
|
</ContentPage.IconImageSource>
|
|
|
|
<ContentPage.Content>
|
|
|
|
<Grid
|
|
|
|
RowDefinitions="Auto,*,Auto"
|
|
|
|
RowSpacing="0">
|
|
|
|
<BoxView Grid.Row="0"
|
|
|
|
HeightRequest="1"
|
|
|
|
WidthRequest="400"
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
Color="{x:DynamicResource primary-back-title-color}"/>
|
|
|
|
<WebView Grid.Row="1"
|
|
|
|
x:Name="InfoLicenses"
|
2023-11-21 15:26:57 +01:00
|
|
|
Source="{Binding AppHtml}"
|
2023-08-31 12:31:38 +02:00
|
|
|
HeightRequest="1000"
|
|
|
|
WidthRequest="1000" />
|
|
|
|
<BoxView Grid.Row="2"
|
|
|
|
HeightRequest="1"
|
|
|
|
WidthRequest="400"
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
Color="{x:DynamicResource primary-back-title-color}"/>
|
|
|
|
<ActivityIndicator Grid.Row="0" Grid.RowSpan="3"
|
|
|
|
IsRunning="{Binding IsIdle, Converter={StaticResource InvertedBoolConverter}}"
|
|
|
|
IsVisible="{Binding IsIdle, Converter={StaticResource InvertedBoolConverter}}"
|
|
|
|
Scale="2"
|
|
|
|
VerticalOptions="CenterAndExpand"
|
|
|
|
HorizontalOptions="CenterAndExpand"
|
|
|
|
Color="{x:DynamicResource primary-back-title-color}"/>
|
2022-10-03 17:55:10 +02:00
|
|
|
</Grid>
|
2023-08-31 12:31:38 +02:00
|
|
|
</ContentPage.Content>
|
|
|
|
</ContentPage>
|
|
|
|
<ContentPage
|
|
|
|
IsEnabled="{Binding IsIdle}"
|
|
|
|
Title="{x:Static resources:AppResources.MarkingTabPrivacy}">
|
|
|
|
<ContentPage.IconImageSource>
|
|
|
|
<FontImageSource Glyph="{StaticResource IconPersonSafety}" FontFamily="FA-S" />
|
|
|
|
</ContentPage.IconImageSource>
|
|
|
|
<ContentPage.Content>
|
|
|
|
<Grid
|
|
|
|
RowDefinitions="Auto,*,Auto"
|
|
|
|
RowSpacing="0">
|
|
|
|
<BoxView Grid.Row="0"
|
|
|
|
HeightRequest="1"
|
|
|
|
WidthRequest="400"
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
Color="{x:DynamicResource primary-back-title-color}"/>
|
|
|
|
<WebView Grid.Row="1"
|
2023-11-21 15:26:57 +01:00
|
|
|
x:Name="PrivacyWebView"
|
|
|
|
Source="{Binding PrivacyHtml}"
|
2023-08-31 12:31:38 +02:00
|
|
|
HeightRequest="1000"
|
|
|
|
WidthRequest="1000" />
|
|
|
|
<BoxView Grid.Row="2"
|
|
|
|
HeightRequest="1"
|
|
|
|
WidthRequest="400"
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
Color="{x:DynamicResource primary-back-title-color}"/>
|
|
|
|
<ActivityIndicator Grid.Row="0" Grid.RowSpan="3"
|
|
|
|
IsRunning="{Binding IsIdle, Converter={StaticResource InvertedBoolConverter}}"
|
|
|
|
IsVisible="{Binding IsIdle, Converter={StaticResource InvertedBoolConverter}}"
|
|
|
|
Scale="2"
|
|
|
|
VerticalOptions="CenterAndExpand"
|
|
|
|
HorizontalOptions="CenterAndExpand"
|
|
|
|
Color="{x:DynamicResource primary-back-title-color}"/>
|
2022-10-03 17:55:10 +02:00
|
|
|
</Grid>
|
2023-08-31 12:31:38 +02:00
|
|
|
</ContentPage.Content>
|
|
|
|
</ContentPage>
|
|
|
|
<ContentPage
|
|
|
|
IsEnabled="{Binding IsIdle}"
|
|
|
|
Title="{x:Static resources:AppResources.MarkingTabGtc}">
|
|
|
|
<ContentPage.IconImageSource>
|
|
|
|
<FontImageSource Glyph="{StaticResource IconDataSafety}" FontFamily="FA-S" />
|
|
|
|
</ContentPage.IconImageSource>
|
|
|
|
<ContentPage.Content>
|
|
|
|
<Grid
|
|
|
|
RowDefinitions="Auto,*,Auto"
|
|
|
|
RowSpacing="0">
|
|
|
|
<BoxView Grid.Row="0"
|
|
|
|
HeightRequest="1"
|
|
|
|
WidthRequest="400"
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
Color="{x:DynamicResource primary-back-title-color}"/>
|
|
|
|
<WebView Grid.Row="1"
|
2023-11-21 15:26:57 +01:00
|
|
|
x:Name="GtcWebView"
|
|
|
|
Source ="{Binding GtcHtml}"
|
2023-08-31 12:31:38 +02:00
|
|
|
HeightRequest="1000"
|
|
|
|
WidthRequest="1000" />
|
|
|
|
<BoxView Grid.Row="2"
|
|
|
|
HeightRequest="1"
|
|
|
|
WidthRequest="400"
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
Color="{x:DynamicResource primary-back-title-color}"/>
|
|
|
|
<ActivityIndicator Grid.Row="0" Grid.RowSpan="3"
|
|
|
|
IsRunning="{Binding IsIdle, Converter={StaticResource InvertedBoolConverter}}"
|
|
|
|
IsVisible="{Binding IsIdle, Converter={StaticResource InvertedBoolConverter}}"
|
|
|
|
Scale="2"
|
|
|
|
VerticalOptions="CenterAndExpand"
|
|
|
|
HorizontalOptions="CenterAndExpand"
|
|
|
|
Color="{x:DynamicResource primary-back-title-color}"/>
|
2022-10-03 17:55:10 +02:00
|
|
|
</Grid>
|
2023-08-31 12:31:38 +02:00
|
|
|
</ContentPage.Content>
|
|
|
|
</ContentPage>
|
|
|
|
<ContentPage
|
|
|
|
IsEnabled="{Binding IsIdle}"
|
|
|
|
Title="{x:Static resources:AppResources.MarkingTabImpress}">
|
|
|
|
<ContentPage.IconImageSource>
|
|
|
|
<FontImageSource Glyph="{StaticResource IconLegalInfo}" FontFamily="FA-S" />
|
|
|
|
</ContentPage.IconImageSource>
|
|
|
|
<ContentPage.Content>
|
|
|
|
<Grid
|
|
|
|
RowDefinitions="Auto,*,Auto"
|
|
|
|
RowSpacing="0">
|
|
|
|
<BoxView Grid.Row="0"
|
|
|
|
HeightRequest="1"
|
|
|
|
WidthRequest="400"
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
Color="{x:DynamicResource primary-back-title-color}"/>
|
|
|
|
<WebView Grid.Row="1"
|
2023-11-21 15:26:57 +01:00
|
|
|
x:Name="ImpressWebView"
|
|
|
|
Source="{Binding ImpressHtml}"
|
2023-08-31 12:31:38 +02:00
|
|
|
HeightRequest="1000"
|
|
|
|
WidthRequest="1000" />
|
|
|
|
<BoxView Grid.Row="2"
|
|
|
|
HeightRequest="1"
|
|
|
|
WidthRequest="400"
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
Color="{x:DynamicResource primary-back-title-color}"/>
|
|
|
|
<ActivityIndicator Grid.Row="0" Grid.RowSpan="3"
|
|
|
|
IsRunning="{Binding IsIdle, Converter={StaticResource InvertedBoolConverter}}"
|
|
|
|
IsVisible="{Binding IsIdle, Converter={StaticResource InvertedBoolConverter}}"
|
|
|
|
Scale="2"
|
|
|
|
VerticalOptions="CenterAndExpand"
|
|
|
|
HorizontalOptions="CenterAndExpand"
|
|
|
|
Color="{x:DynamicResource primary-back-title-color}"/>
|
2022-10-03 17:55:10 +02:00
|
|
|
</Grid>
|
2023-08-31 12:31:38 +02:00
|
|
|
</ContentPage.Content>
|
|
|
|
</ContentPage>
|
2021-05-13 20:16:41 +02:00
|
|
|
</TabbedPage>
|