sharee.bike-App/Meinkonrad/TINK/View/Info/InfoTabbedPage.xaml

166 lines
5.8 KiB
Text
Raw Normal View History

2022-10-03 17:55:10 +02:00
<?xml version="1.0" encoding="utf-8" ?>
2021-11-07 19:42:59 +01:00
<TabbedPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
2022-08-30 15:42:25 +02:00
xmlns:resources="clr-namespace:TINK.MultilingualResources;assembly=TINKLib"
2023-08-31 12:31:38 +02:00
x:Class="TINK.View.Info.InfoPage"
Style="{StaticResource TabbedPageStyle}"
2021-11-07 19:42:59 +01:00
x:Name="TabbedInfoPage">
2023-08-31 12:31:38 +02:00
<TabbedPage.Resources>
<x:String x:Key="IconSmartphone">&#xf3cd;</x:String>
<x:String x:Key="IconPersonSafety">&#xf505;</x:String>
<x:String x:Key="IconDataSafety">&#xf56c;</x:String>
<x:String x:Key="IconLegalInfo">&#xf129;</x:String>
</TabbedPage.Resources>
<Shell.TitleView>
2022-08-30 15:42:25 +02:00
<Grid ColumnDefinitions="Auto, 1*">
<Image Style="{StaticResource Image-Navbar}"/>
<Label Style="{StaticResource Label-Navbar}"
Text="{x:Static resources:AppResources.MarkingAbout}"/>
</Grid>
</Shell.TitleView>
2023-08-31 12:31:38 +02:00
<!--Pages can be added as references or in line-->
<ContentPage
2022-10-04 19:14:42 +02:00
IsEnabled="{Binding IsIdle}"
2022-10-03 17:55:10 +02:00
Title="{x:Static resources:AppResources.MarkingTabApp}">
2023-08-31 12:31:38 +02:00
<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"
Source="{Binding InfoLicenses}"
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
2022-10-04 19:14:42 +02:00
IsEnabled="{Binding IsIdle}"
2022-10-03 17:55:10 +02:00
Title="{x:Static resources:AppResources.MarkingTabPrivacy}">
2023-08-31 12:31:38 +02:00
<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"
x:Name="InfoDatenschutz"
Source="{Binding InfoPrivacy}"
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
2022-10-04 19:14:42 +02:00
IsEnabled="{Binding IsIdle}"
2022-10-03 17:55:10 +02:00
Title="{x:Static resources:AppResources.MarkingTabGtc}">
2023-08-31 12:31:38 +02:00
<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"
x:Name="InfoABG"
Source ="{Binding InfoAgb}"
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
2022-10-04 19:14:42 +02:00
IsEnabled="{Binding IsIdle}"
2022-10-03 17:55:10 +02:00
Title="{x:Static resources:AppResources.MarkingTabImpress}">
2023-08-31 12:31:38 +02:00
<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"
x:Name="InfoImpressum"
Source="{Binding InfoImpressum}"
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-11-07 19:42:59 +01:00
</TabbedPage>