From 6ee2bc3c3f067d85411cff6419b0bbcd99bf3278 Mon Sep 17 00:00:00 2001 From: Aleksei Smirnov Date: Mon, 18 Sep 2023 17:02:25 +0400 Subject: [PATCH] Project with clear button issue reproduced --- .gitignore | 3 + TestClearButton.sln | 27 ++ TestClearButton/App.xaml | 14 + TestClearButton/App.xaml.cs | 12 + TestClearButton/AppShell.xaml | 14 + TestClearButton/AppShell.xaml.cs | 10 + TestClearButton/MainPage.xaml | 43 ++ TestClearButton/MainPage.xaml.cs | 24 ++ TestClearButton/MauiProgram.cs | 25 ++ .../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/Info.plist | 30 ++ .../Platforms/MacCatalyst/Program.cs | 16 + TestClearButton/Platforms/Tizen/Main.cs | 17 + .../Platforms/Tizen/tizen-manifest.xml | 15 + TestClearButton/Platforms/Windows/App.xaml | 8 + TestClearButton/Platforms/Windows/App.xaml.cs | 24 ++ .../Platforms/Windows/Package.appxmanifest | 46 ++ .../Platforms/Windows/app.manifest | 15 + TestClearButton/Platforms/iOS/AppDelegate.cs | 10 + TestClearButton/Platforms/iOS/Info.plist | 32 ++ TestClearButton/Platforms/iOS/Program.cs | 16 + .../Properties/launchSettings.json | 8 + TestClearButton/Resources/AppIcon/appicon.svg | 4 + .../Resources/AppIcon/appiconfg.svg | 8 + .../Resources/Fonts/OpenSans-Regular.ttf | Bin 0 -> 107144 bytes .../Resources/Fonts/OpenSans-Semibold.ttf | Bin 0 -> 111072 bytes .../Resources/Images/dotnet_bot.svg | 93 ++++ TestClearButton/Resources/Raw/AboutAssets.txt | 15 + TestClearButton/Resources/Splash/splash.svg | 8 + TestClearButton/Resources/Styles/Colors.xaml | 44 ++ TestClearButton/Resources/Styles/Styles.xaml | 405 ++++++++++++++++++ TestClearButton/TestClearButton.csproj | 55 +++ TestClearButton/TestClearButton.csproj.user | 35 ++ 37 files changed, 1125 insertions(+) create mode 100644 .gitignore create mode 100644 TestClearButton.sln create mode 100644 TestClearButton/App.xaml create mode 100644 TestClearButton/App.xaml.cs create mode 100644 TestClearButton/AppShell.xaml create mode 100644 TestClearButton/AppShell.xaml.cs create mode 100644 TestClearButton/MainPage.xaml create mode 100644 TestClearButton/MainPage.xaml.cs create mode 100644 TestClearButton/MauiProgram.cs create mode 100644 TestClearButton/Platforms/Android/AndroidManifest.xml create mode 100644 TestClearButton/Platforms/Android/MainActivity.cs create mode 100644 TestClearButton/Platforms/Android/MainApplication.cs create mode 100644 TestClearButton/Platforms/Android/Resources/values/colors.xml create mode 100644 TestClearButton/Platforms/MacCatalyst/AppDelegate.cs create mode 100644 TestClearButton/Platforms/MacCatalyst/Info.plist create mode 100644 TestClearButton/Platforms/MacCatalyst/Program.cs create mode 100644 TestClearButton/Platforms/Tizen/Main.cs create mode 100644 TestClearButton/Platforms/Tizen/tizen-manifest.xml create mode 100644 TestClearButton/Platforms/Windows/App.xaml create mode 100644 TestClearButton/Platforms/Windows/App.xaml.cs create mode 100644 TestClearButton/Platforms/Windows/Package.appxmanifest create mode 100644 TestClearButton/Platforms/Windows/app.manifest create mode 100644 TestClearButton/Platforms/iOS/AppDelegate.cs create mode 100644 TestClearButton/Platforms/iOS/Info.plist create mode 100644 TestClearButton/Platforms/iOS/Program.cs create mode 100644 TestClearButton/Properties/launchSettings.json create mode 100644 TestClearButton/Resources/AppIcon/appicon.svg create mode 100644 TestClearButton/Resources/AppIcon/appiconfg.svg create mode 100644 TestClearButton/Resources/Fonts/OpenSans-Regular.ttf create mode 100644 TestClearButton/Resources/Fonts/OpenSans-Semibold.ttf create mode 100644 TestClearButton/Resources/Images/dotnet_bot.svg create mode 100644 TestClearButton/Resources/Raw/AboutAssets.txt create mode 100644 TestClearButton/Resources/Splash/splash.svg create mode 100644 TestClearButton/Resources/Styles/Colors.xaml create mode 100644 TestClearButton/Resources/Styles/Styles.xaml create mode 100644 TestClearButton/TestClearButton.csproj create mode 100644 TestClearButton/TestClearButton.csproj.user diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6e8fd29 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.vs +TestClearButton/obj +TestClearButton/bin diff --git a/TestClearButton.sln b/TestClearButton.sln new file mode 100644 index 0000000..aaf83cc --- /dev/null +++ b/TestClearButton.sln @@ -0,0 +1,27 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.7.34031.279 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestClearButton", "TestClearButton\TestClearButton.csproj", "{990EBEFC-D44B-4BFB-AC69-579E492FDD3A}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {990EBEFC-D44B-4BFB-AC69-579E492FDD3A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {990EBEFC-D44B-4BFB-AC69-579E492FDD3A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {990EBEFC-D44B-4BFB-AC69-579E492FDD3A}.Debug|Any CPU.Deploy.0 = Debug|Any CPU + {990EBEFC-D44B-4BFB-AC69-579E492FDD3A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {990EBEFC-D44B-4BFB-AC69-579E492FDD3A}.Release|Any CPU.Build.0 = Release|Any CPU + {990EBEFC-D44B-4BFB-AC69-579E492FDD3A}.Release|Any CPU.Deploy.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {CF733EE2-14BA-4756-8E33-7D8BCABCDF84} + EndGlobalSection +EndGlobal diff --git a/TestClearButton/App.xaml b/TestClearButton/App.xaml new file mode 100644 index 0000000..bcb1912 --- /dev/null +++ b/TestClearButton/App.xaml @@ -0,0 +1,14 @@ + + + + + + + + + + + diff --git a/TestClearButton/App.xaml.cs b/TestClearButton/App.xaml.cs new file mode 100644 index 0000000..3489aa3 --- /dev/null +++ b/TestClearButton/App.xaml.cs @@ -0,0 +1,12 @@ +namespace TestClearButton +{ + public partial class App : Application + { + public App() + { + InitializeComponent(); + + MainPage = new AppShell(); + } + } +} \ No newline at end of file diff --git a/TestClearButton/AppShell.xaml b/TestClearButton/AppShell.xaml new file mode 100644 index 0000000..42fa4bd --- /dev/null +++ b/TestClearButton/AppShell.xaml @@ -0,0 +1,14 @@ + + + + + + diff --git a/TestClearButton/AppShell.xaml.cs b/TestClearButton/AppShell.xaml.cs new file mode 100644 index 0000000..bd83f77 --- /dev/null +++ b/TestClearButton/AppShell.xaml.cs @@ -0,0 +1,10 @@ +namespace TestClearButton +{ + public partial class AppShell : Shell + { + public AppShell() + { + InitializeComponent(); + } + } +} \ No newline at end of file diff --git a/TestClearButton/MainPage.xaml b/TestClearButton/MainPage.xaml new file mode 100644 index 0000000..cddcc57 --- /dev/null +++ b/TestClearButton/MainPage.xaml @@ -0,0 +1,43 @@ + + + + + + + + +