sharee.bike-App/TINK/TINK/View/FeesAndBikes/FeesAndBikesPage.xaml

60 lines
2.2 KiB
Plaintext
Raw Normal View History

2021-05-13 20:16:41 +02:00
<?xml version="1.0" encoding="utf-8" ?>
<TabbedPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:resources="clr-namespace:TINK.MultilingualResources;assembly=TINKLib"
x:Class="TINK.View.Contact.FeesAndBikesPage">
2022-08-30 15:42:25 +02:00
<Shell.TitleView>
<Grid ColumnDefinitions="Auto, 1*">
<Label Style="{StaticResource Label-Navbar}"
Text="{x:Static resources:AppResources.MarkingFeesAndBikes}"/>
</Grid>
</Shell.TitleView>
2021-05-13 20:16:41 +02: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.MarkingTabFees}">
2021-05-13 20:16:41 +02:00
<ContentPage.Content>
2022-10-03 17:55:10 +02:00
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<WebView
x:Name="InfoRentBikeWebView"
HeightRequest="1000"
WidthRequest="1000"
Source="{Binding RentBikeText}"/>
<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-05-13 20:16:41 +02: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.MarkingTabBikes}">
2021-05-13 20:16:41 +02:00
<ContentPage.Content>
2022-10-03 17:55:10 +02:00
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<WebView
x:Name="InfoTypesOfBikesWebView"
HeightRequest="1000"
WidthRequest="1000"
Source="{Binding TypesOfBikesText}"/>
<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-05-13 20:16:41 +02:00
</ContentPage.Content>
</ContentPage>
2022-10-03 17:55:10 +02:00
</TabbedPage>