Hello,
===============Update=================
For android 10, please open your styles.xml, change the value of `` <item name="android:windowBackground">@drawable/maui_splash</item>to
<item name="android:windowBackground">@drawable/splasn_icon</item>, then if you want to custom background color for splash screen, please open the
splash_icon.xml` add following lines
<?xml version="1.0" encoding="utf-8" ?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
<!--set splashscreen background color-->
<item>
<color android:color="@color/colorPrimary" />
</item>
<item
android:gravity="center"
android:width="100dp"
android:height="100dp"
android:drawable="@drawable/splashlog" />
</layer-list>
Android 12 does not show the splash screen icon when debugging the application from Visual Studio. However, if you stop debug and close your application in the recent running application page. Then reopen your application, this splash screen will appear normally. And if you generate APK and install it, then open your application, this splash screen will show normally. This issue only happened in the debug mode with IDE.
By the way, I test this issue in the android studio with a native android project as well, when I debug it in Android studio, I will get the same issue, this is a native android issue.
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.