From 91673c833ebd867e21c3dc3d68b907177bdad404 Mon Sep 17 00:00:00 2001 From: Maxime BATISTA Date: Wed, 26 Apr 2023 15:20:39 +0200 Subject: [PATCH] add simple styles to tabar --- AppShell.xaml | 31 +++++++++++++++++++++---------- Pages/MorePage.xaml | 2 ++ Resources/Images/home.svg | 3 +++ Resources/Images/list.svg | 3 +++ Resources/Images/more.svg | 3 +++ ShoopNCook.csproj | 3 +++ 6 files changed, 35 insertions(+), 10 deletions(-) create mode 100644 Resources/Images/home.svg create mode 100644 Resources/Images/list.svg create mode 100644 Resources/Images/more.svg diff --git a/AppShell.xaml b/AppShell.xaml index b638d08..bc51da3 100644 --- a/AppShell.xaml +++ b/AppShell.xaml @@ -6,27 +6,38 @@ xmlns:local="clr-namespace:ShoopNCook" xmlns:pages="clr-namespace:ShoopNCook.Pages" Shell.FlyoutBehavior="Disabled" - Shell.NavBarIsVisible="False"> + Shell.NavBarIsVisible="False" + Shell.TabBarBackgroundColor="White" + Shell.TabBarTitleColor="{StaticResource Selected}" + Shell.TabBarUnselectedColor="{StaticResource TextColorSecondary}"> + Route="HomePage" + Icon="home.svg"/> - + Route="Favorites" + Icon="hearth_on.svg"/> + + Route="MyList" + Icon="list.svg"/> + Route="More" + Icon="more.svg"/> \ No newline at end of file diff --git a/Pages/MorePage.xaml b/Pages/MorePage.xaml index 90a2941..1392a47 100644 --- a/Pages/MorePage.xaml +++ b/Pages/MorePage.xaml @@ -5,6 +5,7 @@ BackgroundColor="{StaticResource BackgroundPrimary}" xmlns:views="clr-namespace:ShoopNCook.Views" Title="MorePage"> + @@ -30,6 +31,7 @@ Grid.Row="1" VerticalOptions="Center" Margin="40, 0, 0, 0"> + diff --git a/Resources/Images/home.svg b/Resources/Images/home.svg new file mode 100644 index 0000000..a9de338 --- /dev/null +++ b/Resources/Images/home.svg @@ -0,0 +1,3 @@ + + + diff --git a/Resources/Images/list.svg b/Resources/Images/list.svg new file mode 100644 index 0000000..6495cdd --- /dev/null +++ b/Resources/Images/list.svg @@ -0,0 +1,3 @@ + + + diff --git a/Resources/Images/more.svg b/Resources/Images/more.svg new file mode 100644 index 0000000..88aee83 --- /dev/null +++ b/Resources/Images/more.svg @@ -0,0 +1,3 @@ + + + diff --git a/ShoopNCook.csproj b/ShoopNCook.csproj index 36a935f..ee9c072 100644 --- a/ShoopNCook.csproj +++ b/ShoopNCook.csproj @@ -56,11 +56,14 @@ + + +