maui icon indicating copy to clipboard operation
maui copied to clipboard

Splash Screen Image doesn't fit across devices with different Android Versions

Open MikeP0911 opened this issue 1 year ago • 5 comments

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

  1. Create a new MAUI project
  2. Delete the default splash image from Resources/Splash folder
  3. Add a new splash image in the Resources/Splash folder
  4. Select MauiSplashScreen for BuildAction in the File Properties
  5. 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

MikeP0911 avatar Feb 15 '24 06:02 MikeP0911

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?

SmartmanApps avatar Feb 15 '24 09:02 SmartmanApps

@MikeP0911 @SmartmanApps can you include screen shots?

PureWeen avatar Feb 15 '24 19:02 PureWeen

@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.

image image

SmartmanApps avatar Feb 15 '24 20:02 SmartmanApps

@PureWeen Attaching images from two different android phones. This is the expected screen (Sony Experia XQ-BT44 - Android 12)

SplashIcon-Actual

The below screenshot is from another android mobile phone which is expanded.(Fujitsu Arrows F-02L- Android 11)

SplashIcon-Expanded

MikeP0911 avatar Feb 16 '24 02:02 MikeP0911

Awaiting solution

MikeP0911 avatar Feb 21 '24 01:02 MikeP0911

@PureWeen, Waiting for the reply, please update. Thanks

MikeP0911 avatar Feb 28 '24 02:02 MikeP0911

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.

MikeP0911 avatar Mar 06 '24 05:03 MikeP0911

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.

MikeP0911 avatar Mar 14 '24 02:03 MikeP0911

Verified this issue with Visual Studio 17.10.0 preview2 (8.0.14). Can repro on Android platform.

QianaJiao avatar Mar 27 '24 07:03 QianaJiao

@PureWeen , Any solutions on this issue will be helpful. Thanks

MikeP0911 avatar Mar 28 '24 00:03 MikeP0911

@mattleibow thoughts?

PureWeen avatar Mar 28 '24 23:03 PureWeen

@PureWeen @mattleibow any updates on this issue. It's been almost two months.

Thanks

MikeP0911 avatar Apr 11 '24 01:04 MikeP0911

still thing.

James-McMenamin avatar May 16 '24 15:05 James-McMenamin