sharee.bike-App/Meinkonrad/TINK/View/Account/AccountPage.xaml

63 lines
1.7 KiB
Text
Raw Normal View History

2023-05-11 17:39:28 +02:00
<?xml version="1.0" encoding="utf-8" ?>
2021-11-07 19:42:59 +01:00
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
2022-04-10 17:38:34 +02:00
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:d="http://xamarin.com/schemas/2014/forms/design"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:resources="clr-namespace:TINK.MultilingualResources;assembly=TINKLib"
mc:Ignorable="d"
2023-05-11 17:39:28 +02:00
x:Class="TINK.View.Account.AccountPage"
BackgroundColor="{DynamicResource background-color}">
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.MarkingAccount}"/>
</Grid>
</Shell.TitleView>
2023-05-11 17:39:28 +02:00
<ContentPage.Content>
<ScrollView>
<StackLayout>
<Frame
Padding="10"
Margin="0,10,0,5"
HorizontalOptions="FillAndExpand"
BackgroundColor="White">
<StackLayout
Padding="10">
<Label
Text="{Binding LoggedInInfo}" />
<Label
IsVisible="{Binding IsBookingStateInfoVisible}"
Text="{Binding BookingStateInfo}" />
<Button
Text="{x:Static resources:AppResources.MessageAccountPageManagePersonalData}"
Command="{Binding OnManageAccount}"
IsEnabled="{Binding IsLogoutPossible}"/>
<Button
Style="{StaticResource SecondaryButton}"
Text="{x:Static resources:AppResources.MessageAccountPageManageLogout}"
Command="{Binding OnLogoutRequest}"
IsEnabled="{Binding IsLogoutPossible}"/>
</StackLayout>
</Frame>
</StackLayout>
</ScrollView>
</ContentPage.Content>
</ContentPage>