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

108 lines
4 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"
2022-01-22 18:28:01 +01:00
x:Class="TINK.View.Info.InfoPage"
2021-11-07 19:42:59 +01:00
x:Name="TabbedInfoPage">
2022-08-30 15:42:25 +02:00
<Shell.TitleView>
<Grid ColumnDefinitions="Auto, 1*">
<Image Style="{StaticResource Image-Navbar}"/>
<Label Style="{StaticResource Label-Navbar}"
Text="{x:Static resources:AppResources.MarkingAbout}"/>
</Grid>
</Shell.TitleView>
2021-11-07 19:42:59 +01:00
<!--Pages can be added as references or inline-->
2022-10-03 17:55:10 +02:00
<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}">
2021-11-07 19:42:59 +01:00
<ContentPage.Content>
2022-10-03 17:55:10 +02:00
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<WebView
2021-11-07 19:42:59 +01:00
x:Name="InfoLicenses"
Source="{Binding InfoLicenses}"
HeightRequest="1000"
WidthRequest="1000" />
2022-10-03 17:55:10 +02:00
<ActivityIndicator Grid.Row="0"
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}"/>
</Grid>
2021-11-07 19:42:59 +01:00
</ContentPage.Content>
</ContentPage>
2022-10-03 17:55:10 +02:00
<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}">
2021-11-07 19:42:59 +01:00
<ContentPage.Content>
2022-10-03 17:55:10 +02:00
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<WebView
2021-11-07 19:42:59 +01:00
x:Name="InfoDatenschutz"
Source="{Binding InfoPrivacy}"
HeightRequest="1000"
WidthRequest="1000" />
2022-10-03 17:55:10 +02:00
<ActivityIndicator Grid.Row="0"
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}"/>
</Grid>
2021-11-07 19:42:59 +01:00
</ContentPage.Content>
</ContentPage>
2022-10-03 17:55:10 +02:00
<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}">
2021-11-07 19:42:59 +01:00
<ContentPage.Content>
2022-10-03 17:55:10 +02:00
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<WebView
2021-11-07 19:42:59 +01:00
x:Name="InfoABG"
Source ="{Binding InfoAgb}"
HeightRequest="1000"
WidthRequest="1000" />
2022-10-03 17:55:10 +02:00
<ActivityIndicator Grid.Row="0"
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}"/>
</Grid>
2021-11-07 19:42:59 +01:00
</ContentPage.Content>
</ContentPage>
2022-10-03 17:55:10 +02:00
<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}">
2021-11-07 19:42:59 +01:00
<ContentPage.Content>
2022-10-03 17:55:10 +02:00
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<WebView
2021-11-07 19:42:59 +01:00
x:Name="InfoImpressum"
Source="{Binding InfoImpressum}"
HeightRequest="1000"
WidthRequest="1000" />
2022-10-03 17:55:10 +02:00
<ActivityIndicator Grid.Row="0"
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}"/>
</Grid>
2021-11-07 19:42:59 +01:00
</ContentPage.Content>
</ContentPage>
</TabbedPage>