maui
maui copied to clipboard
Splash Screen Image doesn't fit across devices with different Android Versions
Description
I have used a custom image for splash screen. It is a *.png image. The image appears as expected in Android 12 Mobile Phones. But it is enlarged in Android 11 Mobile Phone and Harmony OS tablet.
Steps to Reproduce
- Create a new MAUI project
- Delete the default splash image from Resources/Splash folder
- Add a new splash image in the Resources/Splash folder
- Select MauiSplashScreen for BuildAction in the File Properties
- Build and Deploy the project in Android 11 and Android 12 mobile phones
Link to public reproduction project repository
No response
Version with bug
7.0.101
Is this a regression from previous behavior?
Yes, this used to work in Xamarin.Forms
Last version that worked well
7.0.101
Affected platforms
Android
Affected platform versions
Android 11, Android 12
Did you find any workaround?
No response
Relevant log output
No response
Yeah I just recently noticed differences on different Android devices (mostly because circumstances meant I had to use a new one). On one emulator I have my logo appearing in a stripe across the screen, but on another one it's in a circle. I'm not sure if this is the same issue being discussed here - is it meant to be like that?
@MikeP0911 @SmartmanApps can you include screen shots?
@PureWeen No probs. Pixel 3a API 28 and Pixel 4 API 34. Note: the image itself is rectangular, so the first one is correct - in the second it got scrunched up into a circle. Also the aspect ratio is correct in the first but been squashed in the second.
@PureWeen Attaching images from two different android phones. This is the expected screen (Sony Experia XQ-BT44 - Android 12)
The below screenshot is from another android mobile phone which is expanded.(Fujitsu Arrows F-02L- Android 11)
Awaiting solution
@PureWeen, Waiting for the reply, please update. Thanks
Any alternative solution or any working sample available for reference for the above issue? Kindly share if any, since it's been a very long time. Thanks.
Hi,
We are awaiting a solution for this issue. It's been open for quite a long time and there are no updates.
We appreciate a solution or any updates on this issue. Thanks.
Verified this issue with Visual Studio 17.10.0 preview2 (8.0.14). Can repro on Android platform.
@PureWeen , Any solutions on this issue will be helpful. Thanks
@mattleibow thoughts?
@PureWeen @mattleibow any updates on this issue. It's been almost two months.
Thanks
still thing.