From 55670c6ead3a83d7e2b9c1cb497d87033fbed0b8 Mon Sep 17 00:00:00 2001 From: Corentin LEMAIRE Date: Sat, 1 Apr 2023 11:59:28 +0200 Subject: [PATCH] Add the Album Page --- Sources/Linaris/AlbumPage.xaml | 114 ++++++++++++++++++++++++++++++ Sources/Linaris/AlbumPage.xaml.cs | 9 +++ Sources/Linaris/AppShell.xaml | 4 +- Sources/Linaris/Linaris.csproj | 13 ++++ Sources/Linaris/MainPage.xaml | 9 ++- Sources/Linaris/MauiProgram.cs | 4 +- 6 files changed, 149 insertions(+), 4 deletions(-) create mode 100644 Sources/Linaris/AlbumPage.xaml create mode 100644 Sources/Linaris/AlbumPage.xaml.cs diff --git a/Sources/Linaris/AlbumPage.xaml b/Sources/Linaris/AlbumPage.xaml new file mode 100644 index 0000000..51f9056 --- /dev/null +++ b/Sources/Linaris/AlbumPage.xaml @@ -0,0 +1,114 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Sources/Linaris/AlbumPage.xaml.cs b/Sources/Linaris/AlbumPage.xaml.cs new file mode 100644 index 0000000..adde9b9 --- /dev/null +++ b/Sources/Linaris/AlbumPage.xaml.cs @@ -0,0 +1,9 @@ +namespace Linaris; + +public partial class AlbumPage : ContentPage +{ + public AlbumPage() + { + InitializeComponent(); + } +} \ No newline at end of file diff --git a/Sources/Linaris/AppShell.xaml b/Sources/Linaris/AppShell.xaml index c9c0456..d7d78a5 100644 --- a/Sources/Linaris/AppShell.xaml +++ b/Sources/Linaris/AppShell.xaml @@ -8,8 +8,8 @@ diff --git a/Sources/Linaris/Linaris.csproj b/Sources/Linaris/Linaris.csproj index 2da6278..1bb72bd 100644 --- a/Sources/Linaris/Linaris.csproj +++ b/Sources/Linaris/Linaris.csproj @@ -50,6 +50,19 @@ + + + + + + AlbumPage.xaml + + + + + + MSBuild:Compile + diff --git a/Sources/Linaris/MainPage.xaml b/Sources/Linaris/MainPage.xaml index 0bf650f..2122885 100644 --- a/Sources/Linaris/MainPage.xaml +++ b/Sources/Linaris/MainPage.xaml @@ -1,7 +1,8 @@  + x:Class="Linaris.MainPage" + Title="Home"> @@ -34,6 +35,12 @@ HorizontalOptions="Center" VerticalOptions="Start"> + () - .ConfigureFonts(fonts => + .ConfigureSyncfusionCore() + .ConfigureFonts(fonts => { fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular"); fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");