From 5b8d66ed0e121c008da135a2f7cfdc5b85851649 Mon Sep 17 00:00:00 2001 From: snehakPV Date: Mon, 12 May 2025 10:49:15 +0530 Subject: [PATCH 1/4] Updated the sample and read me file --- BottomSheetSample/BottomSheetSample.sln | 22 + BottomSheetSample/BottomSheetSample/App.xaml | 14 + .../BottomSheetSample/App.xaml.cs | 15 + .../BottomSheetSample/AppShell.xaml | 14 + .../BottomSheetSample/AppShell.xaml.cs | 10 + .../BottomSheetSample.csproj | 74 + .../BottomSheetSample/FavoritesPage.xaml | 18 + .../BottomSheetSample/FavoritesPage.xaml.cs | 14 + .../BottomSheetSample/MainPage.xaml | 73 + .../BottomSheetSample/MainPage.xaml.cs | 143 + .../BottomSheetSample/MauiProgram.cs | 27 + .../Platforms/Android/AndroidManifest.xml | 6 + .../Platforms/Android/MainActivity.cs | 11 + .../Platforms/Android/MainApplication.cs | 16 + .../Android/Resources/values/colors.xml | 6 + .../Platforms/MacCatalyst/AppDelegate.cs | 10 + .../Platforms/MacCatalyst/Entitlements.plist | 14 + .../Platforms/MacCatalyst/Info.plist | 38 + .../Platforms/MacCatalyst/Program.cs | 16 + .../BottomSheetSample/Platforms/Tizen/Main.cs | 17 + .../Platforms/Tizen/tizen-manifest.xml | 15 + .../Platforms/Windows/App.xaml | 8 + .../Platforms/Windows/App.xaml.cs | 25 + .../Platforms/Windows/Package.appxmanifest | 46 + .../Platforms/Windows/app.manifest | 15 + .../Platforms/iOS/AppDelegate.cs | 10 + .../Platforms/iOS/Info.plist | 32 + .../Platforms/iOS/Program.cs | 16 + .../iOS/Resources/PrivacyInfo.xcprivacy | 51 + .../Properties/launchSettings.json | 8 + .../Resources/AppIcon/appicon.svg | 4 + .../Resources/AppIcon/appiconfg.svg | 8 + .../Resources/Fonts/FluentUI.cs | 7921 +++++++++++++++++ .../Resources/Fonts/OpenSans-Regular.ttf | Bin 0 -> 107280 bytes .../Resources/Fonts/OpenSans-Semibold.ttf | Bin 0 -> 111184 bytes .../Resources/Images/dotnet_bot.png | Bin 0 -> 93437 bytes .../Resources/Raw/AboutAssets.txt | 15 + .../Resources/Splash/splash.svg | 8 + .../Resources/Styles/Colors.xaml | 45 + .../Resources/Styles/Styles.xaml | 451 + README.md | 75 + 41 files changed, 9311 insertions(+) create mode 100644 BottomSheetSample/BottomSheetSample.sln create mode 100644 BottomSheetSample/BottomSheetSample/App.xaml create mode 100644 BottomSheetSample/BottomSheetSample/App.xaml.cs create mode 100644 BottomSheetSample/BottomSheetSample/AppShell.xaml create mode 100644 BottomSheetSample/BottomSheetSample/AppShell.xaml.cs create mode 100644 BottomSheetSample/BottomSheetSample/BottomSheetSample.csproj create mode 100644 BottomSheetSample/BottomSheetSample/FavoritesPage.xaml create mode 100644 BottomSheetSample/BottomSheetSample/FavoritesPage.xaml.cs create mode 100644 BottomSheetSample/BottomSheetSample/MainPage.xaml create mode 100644 BottomSheetSample/BottomSheetSample/MainPage.xaml.cs create mode 100644 BottomSheetSample/BottomSheetSample/MauiProgram.cs create mode 100644 BottomSheetSample/BottomSheetSample/Platforms/Android/AndroidManifest.xml create mode 100644 BottomSheetSample/BottomSheetSample/Platforms/Android/MainActivity.cs create mode 100644 BottomSheetSample/BottomSheetSample/Platforms/Android/MainApplication.cs create mode 100644 BottomSheetSample/BottomSheetSample/Platforms/Android/Resources/values/colors.xml create mode 100644 BottomSheetSample/BottomSheetSample/Platforms/MacCatalyst/AppDelegate.cs create mode 100644 BottomSheetSample/BottomSheetSample/Platforms/MacCatalyst/Entitlements.plist create mode 100644 BottomSheetSample/BottomSheetSample/Platforms/MacCatalyst/Info.plist create mode 100644 BottomSheetSample/BottomSheetSample/Platforms/MacCatalyst/Program.cs create mode 100644 BottomSheetSample/BottomSheetSample/Platforms/Tizen/Main.cs create mode 100644 BottomSheetSample/BottomSheetSample/Platforms/Tizen/tizen-manifest.xml create mode 100644 BottomSheetSample/BottomSheetSample/Platforms/Windows/App.xaml create mode 100644 BottomSheetSample/BottomSheetSample/Platforms/Windows/App.xaml.cs create mode 100644 BottomSheetSample/BottomSheetSample/Platforms/Windows/Package.appxmanifest create mode 100644 BottomSheetSample/BottomSheetSample/Platforms/Windows/app.manifest create mode 100644 BottomSheetSample/BottomSheetSample/Platforms/iOS/AppDelegate.cs create mode 100644 BottomSheetSample/BottomSheetSample/Platforms/iOS/Info.plist create mode 100644 BottomSheetSample/BottomSheetSample/Platforms/iOS/Program.cs create mode 100644 BottomSheetSample/BottomSheetSample/Platforms/iOS/Resources/PrivacyInfo.xcprivacy create mode 100644 BottomSheetSample/BottomSheetSample/Properties/launchSettings.json create mode 100644 BottomSheetSample/BottomSheetSample/Resources/AppIcon/appicon.svg create mode 100644 BottomSheetSample/BottomSheetSample/Resources/AppIcon/appiconfg.svg create mode 100644 BottomSheetSample/BottomSheetSample/Resources/Fonts/FluentUI.cs create mode 100644 BottomSheetSample/BottomSheetSample/Resources/Fonts/OpenSans-Regular.ttf create mode 100644 BottomSheetSample/BottomSheetSample/Resources/Fonts/OpenSans-Semibold.ttf create mode 100644 BottomSheetSample/BottomSheetSample/Resources/Images/dotnet_bot.png create mode 100644 BottomSheetSample/BottomSheetSample/Resources/Raw/AboutAssets.txt create mode 100644 BottomSheetSample/BottomSheetSample/Resources/Splash/splash.svg create mode 100644 BottomSheetSample/BottomSheetSample/Resources/Styles/Colors.xaml create mode 100644 BottomSheetSample/BottomSheetSample/Resources/Styles/Styles.xaml diff --git a/BottomSheetSample/BottomSheetSample.sln b/BottomSheetSample/BottomSheetSample.sln new file mode 100644 index 0000000..8feb9ae --- /dev/null +++ b/BottomSheetSample/BottomSheetSample.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.12.35521.163 d17.12 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BottomSheetSample", "BottomSheetSample\BottomSheetSample.csproj", "{38A3BF75-3F37-4DBD-ABD1-A530681C1499}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {38A3BF75-3F37-4DBD-ABD1-A530681C1499}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {38A3BF75-3F37-4DBD-ABD1-A530681C1499}.Debug|Any CPU.Build.0 = Debug|Any CPU + {38A3BF75-3F37-4DBD-ABD1-A530681C1499}.Release|Any CPU.ActiveCfg = Release|Any CPU + {38A3BF75-3F37-4DBD-ABD1-A530681C1499}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/BottomSheetSample/BottomSheetSample/App.xaml b/BottomSheetSample/BottomSheetSample/App.xaml new file mode 100644 index 0000000..8a6bc9b --- /dev/null +++ b/BottomSheetSample/BottomSheetSample/App.xaml @@ -0,0 +1,14 @@ + + + + + + + + + + + diff --git a/BottomSheetSample/BottomSheetSample/App.xaml.cs b/BottomSheetSample/BottomSheetSample/App.xaml.cs new file mode 100644 index 0000000..184822e --- /dev/null +++ b/BottomSheetSample/BottomSheetSample/App.xaml.cs @@ -0,0 +1,15 @@ +namespace BottomSheetSample +{ + public partial class App : Application + { + public App() + { + InitializeComponent(); + } + + protected override Window CreateWindow(IActivationState? activationState) + { + return new Window(new AppShell()); + } + } +} \ No newline at end of file diff --git a/BottomSheetSample/BottomSheetSample/AppShell.xaml b/BottomSheetSample/BottomSheetSample/AppShell.xaml new file mode 100644 index 0000000..b5b01ea --- /dev/null +++ b/BottomSheetSample/BottomSheetSample/AppShell.xaml @@ -0,0 +1,14 @@ + + + + + + diff --git a/BottomSheetSample/BottomSheetSample/AppShell.xaml.cs b/BottomSheetSample/BottomSheetSample/AppShell.xaml.cs new file mode 100644 index 0000000..49be9ed --- /dev/null +++ b/BottomSheetSample/BottomSheetSample/AppShell.xaml.cs @@ -0,0 +1,10 @@ +namespace BottomSheetSample +{ + public partial class AppShell : Shell + { + public AppShell() + { + InitializeComponent(); + } + } +} diff --git a/BottomSheetSample/BottomSheetSample/BottomSheetSample.csproj b/BottomSheetSample/BottomSheetSample/BottomSheetSample.csproj new file mode 100644 index 0000000..94e6933 --- /dev/null +++ b/BottomSheetSample/BottomSheetSample/BottomSheetSample.csproj @@ -0,0 +1,74 @@ + + + + net9.0-android;net9.0-ios;net9.0-maccatalyst + $(TargetFrameworks);net9.0-windows10.0.19041.0 + + + + + + + Exe + BottomSheetSample + true + true + enable + enable + + + BottomSheetSample + + + com.companyname.bottomsheetsample + + + 1.0 + 1 + + + None + + 15.0 + 15.0 + 21.0 + 10.0.17763.0 + 10.0.17763.0 + 6.5 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MSBuild:Compile + + + + diff --git a/BottomSheetSample/BottomSheetSample/FavoritesPage.xaml b/BottomSheetSample/BottomSheetSample/FavoritesPage.xaml new file mode 100644 index 0000000..c5d94e9 --- /dev/null +++ b/BottomSheetSample/BottomSheetSample/FavoritesPage.xaml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/BottomSheetSample/BottomSheetSample/FavoritesPage.xaml.cs b/BottomSheetSample/BottomSheetSample/FavoritesPage.xaml.cs new file mode 100644 index 0000000..e96bd3c --- /dev/null +++ b/BottomSheetSample/BottomSheetSample/FavoritesPage.xaml.cs @@ -0,0 +1,14 @@ +using BottomSheetSample; + +namespace BottomSheet; + +public partial class FavoritesPage : ContentPage +{ + public List FavoriteBooks { get; set; } + public FavoritesPage() + { + InitializeComponent(); + FavoriteBooks = BookFavorites.FavoriteBooks; + BindingContext = this; + } +} \ No newline at end of file diff --git a/BottomSheetSample/BottomSheetSample/MainPage.xaml b/BottomSheetSample/BottomSheetSample/MainPage.xaml new file mode 100644 index 0000000..090e2f0 --- /dev/null +++ b/BottomSheetSample/BottomSheetSample/MainPage.xaml @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +