-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Generated splash screen does not retain aspect ratio #5676
Copy link
Copy link
Closed
Labels
area-single-projectSplash Screen, Multi-Targeting, MauiFont, MauiImage, MauiAsset, ResizetizerSplash Screen, Multi-Targeting, MauiFont, MauiImage, MauiAsset, Resizetizerarea-toolingXAML & C# Hot Reload, XAML Editor, Live Visual Tree, Live Preview, DebuggingXAML & C# Hot Reload, XAML Editor, Live Visual Tree, Live Preview, Debuggingfixed-in-7.0.100fixed-in-7.0.101fixed-in-7.0.49Look for this fix in 7.0.49 GA!Look for this fix in 7.0.49 GA!platform/androids/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Milestone
Metadata
Metadata
Assignees
Labels
area-single-projectSplash Screen, Multi-Targeting, MauiFont, MauiImage, MauiAsset, ResizetizerSplash Screen, Multi-Targeting, MauiFont, MauiImage, MauiAsset, Resizetizerarea-toolingXAML & C# Hot Reload, XAML Editor, Live Visual Tree, Live Preview, DebuggingXAML & C# Hot Reload, XAML Editor, Live Visual Tree, Live Preview, Debuggingfixed-in-7.0.100fixed-in-7.0.101fixed-in-7.0.49Look for this fix in 7.0.49 GA!Look for this fix in 7.0.49 GA!platform/androids/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Type
Fields
Give feedbackNo fields configured for issues without a type.
Description
Splash screens on Android do not respect aspect ratio.
Workarounds
To fix Android 21, add a custom
maui_splash_image.xmltodrawable:Platforms\Android\Resources\drawable\maui_splash.xml:To fix Android 23+, add a custom
maui_splash_image.xmltodrawable-v23:Platforms\Android\Resources\drawable-v23\maui_splash.xml: