Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] On Android round icons are shown as white round with square icon inside #326

Open
adminant opened this issue Jan 6, 2022 · 7 comments

Comments

@adminant
Copy link

adminant commented Jan 6, 2022

ℹ️ Info

Version: 0.9.2

💬 Description

Icons on Android where round icons are used are shown as square icon encircled with white. But they should be all round.

📜 Pubspec.yaml

flutter_icons:
image_path: "images/app_icon.png"
android: true
ios: true
remove_alpha_ios: true

@ZacharyHandshoe
Copy link

I am having the same issue here. Did you find any solution?

@adminant
Copy link
Author

@ZacharyHandshoe I made round icons by hand, see workaround here:
#226 (comment)
But it is partially acceptable solution, due to inability to regenerate icons automatically.

@esDotDev
Copy link

esDotDev commented Feb 2, 2022

image
:'(

@milcarzgrzegorz
Copy link

It's not a bug.
you need to make your icon follow https://developer.android.com/guide/practices/ui_guidelines/icon_design_adaptive
to make your icon scale correctly with different devices/android versions.
Some have squares/circles/etc.

Square icon picture will always end up as picture in the middle of the android icon layout.

@maganap
Copy link

maganap commented Jun 3, 2022

@milcarzgrzegorz I ended up adding launcher, tab bar and notification icons using the Create App Icons with Image Asset Studio from your link. After some tweaking to the XMLs it all seems to work fine in different API versions.

So, this flutter_launcher_icons package is only useful for iOS. Or did I just not understand how to use it? xD

@ozgunozerk
Copy link

Solid argument. I'd expect this package to at least not produce ugly square inside circle icons. Could be much more refined for android.

Some have squares/circles/etc.

Seems like a configuration issue. Could have more configuration fields in the .yml file to correctly generate a good-looking icon

@ultrawideturbodev
Copy link

After a couple frustrating hours I found this tool: https://easyappicon.com/
I was done in a couple minutes, testing took most of the time
For anyone going through the same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants