From 6597df644fd9368181d92886b2751b29129acb84 Mon Sep 17 00:00:00 2001 From: DJYohann Date: Fri, 12 May 2023 00:25:18 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20-=20add=20bottom=20tab=20bar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AppleMusicApp/AppShell.xaml | 38 +++++++++++++--- AppleMusicApp/AppShell.xaml.cs | 1 + AppleMusicApp/AppleMusicApp.csproj | 26 +++++++++++ AppleMusicApp/MainPage.xaml | 42 ------------------ AppleMusicApp/MainPage.xaml.cs | 25 ----------- AppleMusicApp/Pages/LibraryPage.xaml | 12 +++++ AppleMusicApp/Pages/LibraryPage.xaml.cs | 9 ++++ AppleMusicApp/Pages/UnknowPage.xaml | 13 ++++++ AppleMusicApp/Pages/UnknowPage.xaml.cs | 9 ++++ .../Resources/Images/icon_explore.png | Bin 0 -> 645 bytes .../Resources/Images/icon_library.png | Bin 0 -> 1239 bytes .../Resources/Images/icon_listen.png | Bin 0 -> 1354 bytes AppleMusicApp/Resources/Images/icon_radio.png | Bin 0 -> 1735 bytes .../Resources/Images/icon_search.png | Bin 0 -> 1081 bytes 14 files changed, 102 insertions(+), 73 deletions(-) delete mode 100644 AppleMusicApp/MainPage.xaml delete mode 100644 AppleMusicApp/MainPage.xaml.cs create mode 100644 AppleMusicApp/Pages/LibraryPage.xaml create mode 100644 AppleMusicApp/Pages/LibraryPage.xaml.cs create mode 100644 AppleMusicApp/Pages/UnknowPage.xaml create mode 100644 AppleMusicApp/Pages/UnknowPage.xaml.cs create mode 100644 AppleMusicApp/Resources/Images/icon_explore.png create mode 100644 AppleMusicApp/Resources/Images/icon_library.png create mode 100644 AppleMusicApp/Resources/Images/icon_listen.png create mode 100644 AppleMusicApp/Resources/Images/icon_radio.png create mode 100644 AppleMusicApp/Resources/Images/icon_search.png diff --git a/AppleMusicApp/AppShell.xaml b/AppleMusicApp/AppShell.xaml index f5c975b..15fed73 100644 --- a/AppleMusicApp/AppShell.xaml +++ b/AppleMusicApp/AppShell.xaml @@ -3,13 +3,39 @@ x:Class="AppleMusicApp.AppShell" xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" - xmlns:local="clr-namespace:AppleMusicApp" + xmlns:pages="clr-namespace:AppleMusicApp.Pages" Shell.FlyoutBehavior="Disabled"> - + + - + + + + + + + + \ No newline at end of file diff --git a/AppleMusicApp/AppShell.xaml.cs b/AppleMusicApp/AppShell.xaml.cs index aa1ba31..9399305 100644 --- a/AppleMusicApp/AppShell.xaml.cs +++ b/AppleMusicApp/AppShell.xaml.cs @@ -5,6 +5,7 @@ public partial class AppShell : Shell public AppShell() { InitializeComponent(); + CurrentItem = LibraryTab; } } diff --git a/AppleMusicApp/AppleMusicApp.csproj b/AppleMusicApp/AppleMusicApp.csproj index c3c7c1b..294a637 100644 --- a/AppleMusicApp/AppleMusicApp.csproj +++ b/AppleMusicApp/AppleMusicApp.csproj @@ -33,6 +33,9 @@ false + + false + @@ -42,8 +45,14 @@ + + + + + + @@ -55,4 +64,21 @@ + + + + + + + + + + + + + + + + + diff --git a/AppleMusicApp/MainPage.xaml b/AppleMusicApp/MainPage.xaml deleted file mode 100644 index faf76dd..0000000 --- a/AppleMusicApp/MainPage.xaml +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - -