You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Resizetizer in .NET MAUI currently does not automatically adjust splash screen images to a square aspect ratio when generating resources for Android. As of Android 12+, splash screen images must be square to render correctly. Non-square images result in distortion or errors during the splash screen display.
This proposal is to enhance the Resizetizer to automatically adjust the provided splash screen images to a square aspect ratio when generating resources for Android, ensuring compliance with Android 12+ requirements. This adjustment would streamline development by removing the need for manual preprocessing of images by developers.
Public API Changes
This change does not involve any new APIs or modifications to existing APIs. The adjustment to square images for Android splash screens would happen automatically within the Resizetizer's internal processing logic.
Intended Use-Case
When building a .NET MAUI app targeting Android 12 or newer, developers often need to manually ensure splash screen images are square. This enhancement would automate the process, saving time and reducing errors.
For example:
Developers can provide any image for the splash screen, and the Resizetizer ensures it meets Android's requirements.
This prevents distorted splash screens and ensures a consistent appearance across devices.
The text was updated successfully, but these errors were encountered:
Description
The Resizetizer in .NET MAUI currently does not automatically adjust splash screen images to a square aspect ratio when generating resources for Android. As of Android 12+, splash screen images must be square to render correctly. Non-square images result in distortion or errors during the splash screen display.
This proposal is to enhance the Resizetizer to automatically adjust the provided splash screen images to a square aspect ratio when generating resources for Android, ensuring compliance with Android 12+ requirements. This adjustment would streamline development by removing the need for manual preprocessing of images by developers.
Public API Changes
This change does not involve any new APIs or modifications to existing APIs. The adjustment to square images for Android splash screens would happen automatically within the Resizetizer's internal processing logic.
Intended Use-Case
When building a .NET MAUI app targeting Android 12 or newer, developers often need to manually ensure splash screen images are square. This enhancement would automate the process, saving time and reducing errors.
For example:
The text was updated successfully, but these errors were encountered: