Hello,
For Android 10 and 11, you can use the following code to make the image full full the splash screen.
- Delete the old splash image in the Resources/Splash folder.
- Put your image in it and set it's build action as MauiSplashScreen
- Create a xml file in the
Platforms\Android\Resources\drawable\maui_splash.xml
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" android:opacity="opaque">
<item>
<bitmap
android:src="@drawable/splash" //the splash is your image's name
android:dither="true"
android:gravity="fill"/>
</item>
</layer-list>
And then, your image will show in the full splash screen.
For android 12 or later, this is by Google's design, we cannot make the full screen. See this google's doc:Splash Screen
Best Regards,
Leon Lu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.