diff --git a/samples/SkiaSharpDemo/App.xaml b/samples/SkiaSharpDemo/App.xaml
index 2670e5fc..9963e842 100644
--- a/samples/SkiaSharpDemo/App.xaml
+++ b/samples/SkiaSharpDemo/App.xaml
@@ -11,8 +11,6 @@
-
-
diff --git a/samples/SkiaSharpDemo/App.xaml.cs b/samples/SkiaSharpDemo/App.xaml.cs
index c33e252a..2da42454 100644
--- a/samples/SkiaSharpDemo/App.xaml.cs
+++ b/samples/SkiaSharpDemo/App.xaml.cs
@@ -1,4 +1,6 @@
-namespace SkiaSharpDemo;
+using SkiaSharpDemo.Views;
+
+namespace SkiaSharpDemo;
public partial class App : Application
{
@@ -6,6 +8,10 @@ public App()
{
InitializeComponent();
- MainPage = new AppShell();
+ Resources.MergedDictionaries.Add(new OptionButtonsResources());
+ Resources.MergedDictionaries.Add(new BottomTabBarResources());
}
+
+ protected override Window CreateWindow(IActivationState? activationState) =>
+ new Window(new AppShell());
}
diff --git a/samples/SkiaSharpDemo/Demos/BlurHash/BlurHashPage.xaml b/samples/SkiaSharpDemo/Demos/BlurHash/BlurHashPage.xaml
index f97ba9bb..91463026 100644
--- a/samples/SkiaSharpDemo/Demos/BlurHash/BlurHashPage.xaml
+++ b/samples/SkiaSharpDemo/Demos/BlurHash/BlurHashPage.xaml
@@ -25,8 +25,9 @@
diff --git a/samples/SkiaSharpDemo/Demos/Confetti/ConfettiPage.xaml b/samples/SkiaSharpDemo/Demos/Confetti/ConfettiPage.xaml
index 8257888a..6db9c739 100644
--- a/samples/SkiaSharpDemo/Demos/Confetti/ConfettiPage.xaml
+++ b/samples/SkiaSharpDemo/Demos/Confetti/ConfettiPage.xaml
@@ -22,7 +22,7 @@
HorizontalOptions="End" VerticalOptions="Start"
IsVisible="{Binding IsComplete, Source={Reference confettiView}}" />
-
+
@@ -101,7 +101,7 @@
-