---
title: "Comment by Muffadal Khopoliwala on \"Let's customize the Splash Screen of a MAUI app\" | Hashnode"
description: "Hi Julian Ewers-Peters , I tried the approach with .Net 7 on MAUI to support light and dark mode for splash screen with following steps but it doesn&#39;t seem"
url: "https://hashnode.com/posts/lets-customize-the-splash-screen-of-a-maui-app/63651c076c3c5e43cbf37dc3/comment/65142a4ff80d7d6478976207"
---

[Discussion](https://hashnode.com/posts/lets-customize-the-splash-screen-of-a-maui-app/63651c076c3c5e43cbf37dc3)

Comment [Let's customize the Splash Screen of a MAUI app](https://hashnode.com/posts/lets-customize-the-splash-screen-of-a-maui-app/63651c076c3c5e43cbf37dc3)

[Muffadal Khopoliwala](https://hashnode.com/@muffy53)

[Sep 27, 2023](https://hashnode.com/posts/lets-customize-the-splash-screen-of-a-maui-app/63651c076c3c5e43cbf37dc3/comment/65142a4ff80d7d6478976207)

Hi [Julian Ewers-Peters](https://hashnode.com/@ewerspej),

I tried the approach with .Net 7 on MAUI to support light and dark mode for splash screen with following steps but it doesn't seem to work as per following:

1.  I have set the splash screen as below:

<MauiSplashScreen Include="Resources\\Splash\\splash.svg"/>

1.  The "@color/colorPrimaryDark" for "styles.xml" in both "values" and "values-night" takes the value #1B3147 for bacground color of splash screen and not what I have mentioned in "colors.xml".
    
2.  Here is the configuration of "MainActivity.cs":
    

\[Activity(Theme = "@style/MyTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.KeyboardHidden, ScreenOrientation = ScreenOrientation.Portrait)\]

So, please let me know what I am missing on my side to make it work. Awaiting you reply.
