-
Notifications
You must be signed in to change notification settings - Fork 0
/
AppShell.xaml
28 lines (28 loc) · 1.22 KB
/
AppShell.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0" encoding="UTF-8" ?>
<Shell
x:Class="TaskSwift.AppShell"
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:TaskSwift"
xmlns:views="clr-namespace:TaskSwift.Views">
<Shell.Resources>
<ResourceDictionary>
<Style TargetType="TabBar">
<Setter Property="Shell.TabBarBackgroundColor" Value="#121212"/>
<Setter Property="Shell.TabBarTitleColor" Value="#66B4FF" />
<Setter Property="Shell.TabBarUnselectedColor" Value="gray" />
</Style>
</ResourceDictionary>
</Shell.Resources>
<TabBar>
<Tab Title="Home" Icon="house_door.svg">
<ShellContent ContentTemplate="{DataTemplate views:MainPage}" Route="MainPage"></ShellContent>
</Tab>
<Tab Title="Profile" Icon="person.svg">
<ShellContent ContentTemplate="{DataTemplate views:ProfilePage}" Route="ProfilePage"></ShellContent>
</Tab>
<Tab Title="Add" Icon="plus_square.svg">
<ShellContent ContentTemplate="{DataTemplate views:AddTaskPage}" Route="AddTaskPage"></ShellContent>
</Tab>
</TabBar>
</Shell>