From 52906e510d2f58aa06847d6226ec5a439cdd6997 Mon Sep 17 00:00:00 2001 From: Alexandre Agostinho Date: Thu, 6 Apr 2023 23:21:31 +0200 Subject: [PATCH] try shell flyout page + add some icons --- MCTG/Views/App.xaml.cs | 1 + MCTG/Views/AppShell.xaml | 62 ++++++++++++++++--- MCTG/Views/Home.xaml | 15 ++--- .../Views/Resources/Images/assistant_icon.svg | 1 + MCTG/Views/Resources/Images/coffee_icon.svg | 1 + MCTG/Views/Resources/Images/flatware_icon.svg | 1 + MCTG/Views/Resources/Images/home_icon.svg | 1 + MCTG/Views/Resources/Images/list_icon.svg | 1 + MCTG/Views/Resources/Images/login_icon.svg | 1 + MCTG/Views/Resources/Images/logout_icon.svg | 1 + .../Resources/Images/room_service_icon.svg | 1 + MCTG/Views/Resources/Styles/Colors.xaml | 2 +- 12 files changed, 71 insertions(+), 17 deletions(-) create mode 100644 MCTG/Views/Resources/Images/assistant_icon.svg create mode 100644 MCTG/Views/Resources/Images/coffee_icon.svg create mode 100644 MCTG/Views/Resources/Images/flatware_icon.svg create mode 100644 MCTG/Views/Resources/Images/home_icon.svg create mode 100644 MCTG/Views/Resources/Images/list_icon.svg create mode 100644 MCTG/Views/Resources/Images/login_icon.svg create mode 100644 MCTG/Views/Resources/Images/logout_icon.svg create mode 100644 MCTG/Views/Resources/Images/room_service_icon.svg diff --git a/MCTG/Views/App.xaml.cs b/MCTG/Views/App.xaml.cs index 3267474..62727b7 100644 --- a/MCTG/Views/App.xaml.cs +++ b/MCTG/Views/App.xaml.cs @@ -7,6 +7,7 @@ InitializeComponent(); MainPage = new AppShell(); + Application.Current.UserAppTheme = AppTheme.Light; } } } \ No newline at end of file diff --git a/MCTG/Views/AppShell.xaml b/MCTG/Views/AppShell.xaml index db5d662..dd0cdd2 100644 --- a/MCTG/Views/AppShell.xaml +++ b/MCTG/Views/AppShell.xaml @@ -4,16 +4,60 @@ xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:local="clr-namespace:Vue" - Shell.FlyoutBehavior="Disabled"> + FlyoutBackgroundColor="DarkGray" + Shell.FlyoutBehavior="Flyout"> - + + + + + + + + + + + +