-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAppShell.xaml
57 lines (50 loc) · 2.08 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
51
52
53
54
55
56
57
<?xml version="1.0" encoding="UTF-8" ?>
<Shell
x:Class="FastCost.AppShell"
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:views="clr-namespace:FastCost.Views"
>
<!--FlyoutBehavior="Flyout">-->
<!--<Shell.FlyoutHeader>
<Grid HeightRequest="55" BackgroundColor="CadetBlue" Padding="5">
<Label Text="..." FontSize="Large" FontAttributes="Bold" VerticalTextAlignment="Center" Padding="5,0,0,0" />
--><!--<Image Source="icon_estimate.png" HorizontalOptions="Start"/>--><!--
</Grid>
</Shell.FlyoutHeader>-->
<!-- <ShellContent -->
<!-- Title="FastCost" -->
<!-- ContentTemplate="{DataTemplate views:MainPage}" -->
<!-- Route="MainPage" /> -->
<TabBar
Route="tabs">
<Tab Title="Add cost" Icon="{OnPlatform 'icon_estimate.png'}">
<ShellContent
ContentTemplate="{DataTemplate views:MainPage}"
Route="mainPage" />
</Tab>
<Tab Title="All costs" Icon="{OnPlatform 'icon_all_costs.png'}">
<ShellContent
ContentTemplate="{DataTemplate views:AllCostsPage}"
Route="allCosts" />
</Tab>
<Tab Title="Analysis" Icon="{OnPlatform 'icon_analysis.png'}">
<ShellContent
ContentTemplate="{DataTemplate views:AnalysisPage}"
Route="analysis" />
</Tab>
</TabBar>
<!--<MenuItem Text="Export costs data (Backup)"
IconImageSource="icon_all_costs.png"
Command="{Binding ExportCommand}" />-->
<!--<FlyoutItem Title="Add cost" Icon="{OnPlatform 'icon_notes.png'}">
<ShellContent
ContentTemplate="{DataTemplate views:MainPage}"
Route="mainPage" />
</FlyoutItem>
<FlyoutItem Title="All costs" Icon="{OnPlatform 'icon_about.png'}">
<ShellContent
ContentTemplate="{DataTemplate views:AllCostsPage}"
Route="allCosts" />
</FlyoutItem>-->
</Shell>