-
-
Notifications
You must be signed in to change notification settings - Fork 187
/
AppShell.xaml
50 lines (44 loc) · 1.72 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?xml version="1.0" encoding="UTF-8" ?>
<Shell
x:Class="MauiBank.AppShell"
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:MauiBank"
xmlns:views="clr-namespace:MauiBank.Views"
xmlns:fonts="clr-namespace:MauiBank.Resources.Fonts"
NavBarIsVisible="False"
FlyoutBehavior="Disabled">
<ShellContent Route="PinPage" ContentTemplate="{DataTemplate views:PinPage}" />
<TabBar Route="home">
<Tab Route="CardPage" Title="Card">
<Tab.Icon>
<FontImageSource FontFamily="FASolid" Glyph="{x:Static fonts:FontAwesomeIcons.CreditCard}" />
</Tab.Icon>
<ShellContent ContentTemplate="{DataTemplate views:CardPage}" />
</Tab>
<Tab Route="CreditsPage" Title="Credits">
<Tab.Icon>
<FontImageSource FontFamily="FASolid" Glyph="{x:Static fonts:FontAwesomeIcons.ChartPie}" />
</Tab.Icon>
<ShellContent ContentTemplate="{DataTemplate views:CreditsPage}" />
</Tab>
<Tab Route="DepositsPage" Title="Deposits">
<Tab.Icon>
<FontImageSource FontFamily="FASolid" Glyph="{x:Static fonts:FontAwesomeIcons.PiggyBank}" />
</Tab.Icon>
<ShellContent ContentTemplate="{DataTemplate views:CreditsPage}" />
</Tab>
<Tab Route="CashBackPage" Title="CashBack">
<Tab.Icon>
<FontImageSource FontFamily="FASolid" Glyph="{x:Static fonts:FontAwesomeIcons.Gift}" />
</Tab.Icon>
<ShellContent ContentTemplate="{DataTemplate views:CreditsPage}" />
</Tab>
<Tab Route="MorePage" Title="More">
<Tab.Icon>
<FontImageSource FontFamily="FASolid" Glyph="{x:Static fonts:FontAwesomeIcons.Braille}" />
</Tab.Icon>
<ShellContent ContentTemplate="{DataTemplate views:CreditsPage}" />
</Tab>
</TabBar>
</Shell>