We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
net9.0-android
.net 9
I try to customize Splash screen in Android, .net 9 but it doesn't work, it works fine in .net 8. Xamarin.AndroidX.Core.SplashScreen
<style name="MainTheme" parent="Theme.Material3.DayNight.NoActionBar"> <!-- Configuración del tema principal --> </style> <style name="SplashTheme" parent="Theme.SplashScreen"> <item name="windowSplashScreenBackground">@color/splash_background</item> <item name="postSplashScreenTheme">@style/MainTheme</item> </style>
[Activity( Theme = "@style/SplashTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)] public class MainActivity : MauiAppCompatActivity { protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); } }
Only the default splash screen is shown
No response
The text was updated successfully, but these errors were encountered:
Thanks for the feedback, but could you provide minimal repro sample, please?
I am no Splash screen API expert and I would need repro, so I can investigate.
Is that MAUI project?
OK. I see it. It is MAUI project.
Does it work in .NET8?
Sorry, something went wrong.
No branches or pull requests
Android framework version
net9.0-android
Affected platform version
.net 9
Description
I try to customize Splash screen in Android, .net 9 but it doesn't work, it works fine in .net 8. Xamarin.AndroidX.Core.SplashScreen
[Activity(
Theme = "@style/SplashTheme",
MainLauncher = true,
ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)]
public class MainActivity : MauiAppCompatActivity
{
protected override void OnCreate(Bundle savedInstanceState)
{
base.OnCreate(savedInstanceState);
}
}
Steps to Reproduce
Only the default splash screen is shown
Did you find any workaround?
No response
Relevant log output
The text was updated successfully, but these errors were encountered: