sharee.bike-App/LastenradBayern/ShareeBike/View/RootShell/AppShell.xaml

117 lines
5.3 KiB
Text
Raw Normal View History

2021-05-13 20:16:41 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<Shell xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
2024-04-09 12:53:23 +02:00
xmlns:resources="clr-namespace:ShareeBike.MultilingualResources;assembly=SharedBusinessLogic"
xmlns:mappage="clr-namespace:ShareeBike.View.Map"
xmlns:findbike="clr-namespace:ShareeBike.View.SelectBike"
xmlns:mybikes="clr-namespace:ShareeBike.View.MyBikes"
xmlns:account="clr-namespace:ShareeBike.View.Account"
xmlns:login="clr-namespace:ShareeBike.View.Login"
xmlns:settings="clr-namespace:ShareeBike.View.Settings"
xmlns:contact="clr-namespace:ShareeBike.View.Contact"
xmlns:help="clr-namespace:ShareeBike.View.Help"
xmlns:info="clr-namespace:ShareeBike.View.LegalInformation"
xmlns:header="clr-namespace:ShareeBike.View.RootShell"
xmlns:version="clr-namespace:SharedGui.View"
2021-05-13 20:16:41 +02:00
BackgroundColor="{DynamicResource Key=primary-back-title-color}"
Title="Shell"
2024-04-09 12:53:23 +02:00
x:Class="ShareeBike.View.RootShell.AppShell">
2022-09-16 11:19:46 +02:00
<Shell.FlyoutHeader>
<header:FlyoutHeader/>
</Shell.FlyoutHeader>
<FlyoutItem FlyoutDisplayOptions="AsMultipleItems">
<ShellContent
2023-11-21 15:26:57 +01:00
Title="{x:Static resources:AppResources.MarkingBikeLocations}"
2021-06-26 20:57:55 +02:00
Route="MapPage"
2021-05-13 20:16:41 +02:00
ContentTemplate="{DataTemplate mappage:MapPage}">
2022-09-16 11:19:46 +02:00
<ShellContent.FlyoutIcon>
<FontImageSource Glyph="{StaticResource IconMap}" Color="{DynamicResource Key=primary-back-title-color}" FontFamily="FA-S" />
</ShellContent.FlyoutIcon>
</ShellContent>
</FlyoutItem>
<FlyoutItem FlyoutDisplayOptions="AsMultipleItems">
<ShellContent
2023-11-21 15:26:57 +01:00
Title="{x:Static resources:AppResources.MarkingSelectBike}"
IsVisible="{Binding IsSelectBikePageVisible}"
ContentTemplate="{DataTemplate findbike:SelectBikePage}">
2022-09-16 11:19:46 +02:00
<ShellContent.FlyoutIcon>
2023-11-21 15:26:57 +01:00
<FontImageSource Glyph="{StaticResource IconSelectBike}" Color="{DynamicResource Key=primary-back-title-color}" FontFamily="FA-S" />
2022-09-16 11:19:46 +02:00
</ShellContent.FlyoutIcon>
</ShellContent>
</FlyoutItem>
<FlyoutItem FlyoutDisplayOptions="AsMultipleItems">
<ShellContent
2021-05-13 20:16:41 +02:00
Title="{x:Static resources:AppResources.MarkingMyBikes}"
IsVisible="{Binding IsMyBikesPageVisible}"
ContentTemplate="{DataTemplate mybikes:MyBikesPage}">
2022-09-16 11:19:46 +02:00
<ShellContent.FlyoutIcon>
<FontImageSource Glyph="{StaticResource IconMyBikes}" Color="{DynamicResource Key=primary-back-title-color}" FontFamily="FA-S" />
</ShellContent.FlyoutIcon>
</ShellContent>
</FlyoutItem>
<FlyoutItem FlyoutDisplayOptions="AsMultipleItems">
<ShellContent
2021-05-13 20:16:41 +02:00
Title="{x:Static resources:AppResources.MarkingAccount}"
IsVisible="{Binding IsAccountPageVisible}"
ContentTemplate="{DataTemplate account:AccountPage}">
2022-09-16 11:19:46 +02:00
<ShellContent.FlyoutIcon>
<FontImageSource Glyph="{StaticResource IconAccount}" Color="{DynamicResource Key=primary-back-title-color}" FontFamily="FA-S" />
</ShellContent.FlyoutIcon>
</ShellContent>
</FlyoutItem>
<FlyoutItem FlyoutDisplayOptions="AsMultipleItems">
<ShellContent
2021-05-13 20:16:41 +02:00
Title="{x:Static resources:AppResources.MarkingLogin}"
2021-06-26 20:57:55 +02:00
Route="LoginPage"
2021-05-13 20:16:41 +02:00
IsVisible="{Binding IsLoginPageVisible}"
ContentTemplate="{DataTemplate login:LoginPage}">
2022-09-16 11:19:46 +02:00
<ShellContent.FlyoutIcon>
<FontImageSource Glyph="{StaticResource IconLogin}" Color="{DynamicResource Key=primary-back-title-color}" FontFamily="FA-S" />
</ShellContent.FlyoutIcon>
</ShellContent>
</FlyoutItem>
<FlyoutItem FlyoutDisplayOptions="AsMultipleItems">
<ShellContent
2023-11-21 15:26:57 +01:00
Title="{x:Static resources:AppResources.MarkingContact}"
2023-08-31 12:31:38 +02:00
Route="ContactPage"
ContentTemplate="{DataTemplate contact:ContactPage}">
2022-09-16 11:19:46 +02:00
<ShellContent.FlyoutIcon>
2023-08-31 12:31:38 +02:00
<FontImageSource Glyph="{StaticResource IconContact}" Color="{DynamicResource Key=primary-back-title-color}" FontFamily="FA-S" />
2022-09-16 11:19:46 +02:00
</ShellContent.FlyoutIcon>
</ShellContent>
</FlyoutItem>
<FlyoutItem FlyoutDisplayOptions="AsMultipleItems">
<ShellContent
2023-08-31 12:31:38 +02:00
Title="{x:Static resources:AppResources.MarkingSettings}"
ContentTemplate="{DataTemplate settings:SettingsPage}">
2022-09-16 11:19:46 +02:00
<ShellContent.FlyoutIcon>
2023-08-31 12:31:38 +02:00
<FontImageSource Glyph="{StaticResource IconSettings}" Color="{DynamicResource Key=primary-back-title-color}" FontFamily="FA-S" />
2022-09-16 11:19:46 +02:00
</ShellContent.FlyoutIcon>
</ShellContent>
</FlyoutItem>
2023-08-31 12:31:38 +02:00
2022-09-16 11:19:46 +02:00
<FlyoutItem FlyoutDisplayOptions="AsMultipleItems">
<ShellContent
2023-11-21 15:26:57 +01:00
Title="{x:Static resources:AppResources.MarkingHelp}"
ContentTemplate="{DataTemplate help:HelpPage}">
2022-09-16 11:19:46 +02:00
<ShellContent.FlyoutIcon>
2023-11-21 15:26:57 +01:00
<FontImageSource Glyph="{StaticResource IconHelp}" Color="DimGray" FontFamily="FA-S"/>
2022-09-16 11:19:46 +02:00
</ShellContent.FlyoutIcon>
</ShellContent>
</FlyoutItem>
<FlyoutItem FlyoutDisplayOptions="AsMultipleItems">
<ShellContent
2023-11-21 15:26:57 +01:00
Title="{x:Static resources:AppResources.MarkingLegalInformation}"
ContentTemplate="{DataTemplate info:LegalInformationPage}">
2022-09-16 11:19:46 +02:00
<ShellContent.FlyoutIcon>
2023-08-31 12:31:38 +02:00
<FontImageSource Glyph="{StaticResource IconLegalInfo}" Color="DimGray" FontFamily="FA-S" />
2022-09-16 11:19:46 +02:00
</ShellContent.FlyoutIcon>
</ShellContent>
</FlyoutItem>
2024-04-09 12:53:23 +02:00
2022-09-16 11:19:46 +02:00
<Shell.FlyoutFooter>
<version:VersionNumberView/>
</Shell.FlyoutFooter>
2021-05-13 20:16:41 +02:00
</Shell>