.NET MAUI Splas Screen Background image instead of Background color AND splash icon image

Matt 51 Reputation points
2023-10-09T07:08:52.7166667+00:00

Is it possible to create the splash screen with a background image instead of using background color and still use the icon image?

Based on documentation here: https://learn.microsoft.com/en-us/dotnet/maui/user-interface/images/splashscreen?tabs=android

I do not see a way to accomplish this in the documentation.

The issue I have is that I don't have a solid background color. My background has a gradient and pattern.

What would be the best way to build the splash screen so that it has the background set with the image I provide and then also continue to display the splash icon like in the documentation?

I'm also assuming that providing a .SVG will allow both background image and splash icon image to be resized dynamically on build time for the appropriate device resolution.

This is for both Android and iOS.

Thanks.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,143 questions
{count} votes