Not sure if this could be a bug or what
If I set the splashscreen color it only works if the theme is Light. For the Dark theme it stays black. You see the image with a white background though. This is now for Android.
<MauiSplashScreen Include="Resources\Splash\logo.svg" Color="White" />
Updates to this question:
I have implemented the solution at
https://ewerspej.hashnode.dev/lets-customize-the-splash-screen-of-a-maui-app#heading-light-mode
It works for Light Mode as expected, but for Dark Mode the colorPrimaryDark is ignored. There is always this black frame around the logo. The logo's background is set to Transparent and still the logo has a background of White with the black frame around it.
I am doing this for Android (for now) and I am not using the Emulator but my Xioami Redmi Note 10 Pro. The device runs Android 12 and MIUI 13.016. All updated. The API is API 31 - Which I guess could be the issue.
I have also searched for any possibility of black and tried to change it. Problem still persist.
I would like the image and the background to be white in Dark or Light theme.
If I could just disable dark mode for the app that would be great.
Below a screenshot of what I see in Dark Mode.
Thanks!
Jaco
