39 lines
1.6 KiB
XML
39 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<Shell
|
|
x:Class="cfs_tracker.AppShell"
|
|
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
xmlns:loc="clr-namespace:cfs_tracker.Helpers"
|
|
xmlns:views="clr-namespace:cfs_tracker.Views"
|
|
Shell.BackgroundColor="{DynamicResource ShellBackground}"
|
|
Shell.ForegroundColor="{DynamicResource ShellForeground}"
|
|
Shell.TitleColor="{DynamicResource ShellTitle}"
|
|
Shell.UnselectedColor="{DynamicResource ShellUnselected}"
|
|
Shell.TabBarBackgroundColor="{DynamicResource TabBarBackground}"
|
|
Shell.TabBarForegroundColor="{DynamicResource TabBarForeground}"
|
|
Shell.TabBarTitleColor="{DynamicResource TabBarTitle}"
|
|
Shell.TabBarUnselectedColor="{DynamicResource TabBarUnselected}">
|
|
|
|
<TabBar>
|
|
<ShellContent Title="{loc:Translate Tab_Day}"
|
|
Route="day"
|
|
ContentTemplate="{DataTemplate views:DayPage}" />
|
|
|
|
<ShellContent Title="{loc:Translate Tab_Week}"
|
|
Route="week"
|
|
ContentTemplate="{DataTemplate views:WeekPage}" />
|
|
|
|
<ShellContent Title="{loc:Translate Tab_Month}"
|
|
Route="month"
|
|
ContentTemplate="{DataTemplate views:MonthPage}" />
|
|
|
|
<ShellContent Title="{loc:Translate Tab_Year}"
|
|
Route="year"
|
|
ContentTemplate="{DataTemplate views:YearPage}" />
|
|
|
|
<ShellContent Title="{loc:Translate Tab_Options}"
|
|
Route="options"
|
|
ContentTemplate="{DataTemplate views:OptionsPage}" />
|
|
</TabBar>
|
|
</Shell>
|