maui
maui copied to clipboard
Maui Android app icon does not scale - Workaround required
Description
Android Icon looks totally stretched out and despite all the effort I cannot make it work. Below does not work - open to any suggestions
<MauiIcon
Include="Resources\AppIcon\appicon.svg"
ForegroundFile="Resources\AppIcon\appiconfg.svg"
BaseSize="64,64"
Color="#FFFFFF"
ForegroundScale="0.65"/>
Steps to Reproduce
- Create or use an appIcon
- look in android and you will see that what is displayed is totally stretched out .
Link to public reproduction project repository
No response
Version with bug
8.0.21 SR4.1
Is this a regression from previous behavior?
Yes, this used to work in Xamarin.Forms
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
No response
Did you find any workaround?
No . Looking for a workaround
Relevant log output
No response
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Open similar issues:
- [Android] ForegroundScale property in MauiIcon not working in .NET 8 (#22052), similarity score: 0.81
Closed similar issues:
- [Android] MauiIcon BaseSize and ForegroundScale doesn't work (#7305), similarity score: 0.84
- Android MauiIcon resizetizering issue (#11159), similarity score: 0.84
- MauiIcon ForegroundScale does not work (does not scale icon under Android) (#6850), similarity score: 0.82
- .NET MAUI Icon Stretched (#11291), similarity score: 0.79
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Duplicate of #22052