Skip to content
This repository has been archived by the owner on Oct 7, 2021. It is now read-only.

Feature Request: Android, Generate Round Icons #26

Open
puremana opened this issue Feb 27, 2020 · 8 comments
Open

Feature Request: Android, Generate Round Icons #26

puremana opened this issue Feb 27, 2020 · 8 comments
Labels
enhancement New feature or request

Comments

@puremana
Copy link

At the moment using the set-icon command, you are unable to generate a different, rounded version of the icon, such as creating another icon file with the name 'ic_launcher_round' in all minmap folders.

Using this package, since no rounded image is set in the manifest, new android versions (android version 10 for instance) will crop the default icon into a circle, often not looking very professional.

One temporary solution until the ability to generate a rounded icon is introduced, is to alter the AndroidManifest and add android:roundIcon="@mipmap/ic_launcher" which means android will no longer crop the icon and instead just display your default android icon. Since your default icon can already be slightly rounded and be transparent, this looks fine.

@yleflour
Copy link

In the current situation we expected the input file to be used for any kind of icon.

Would be willing to look into differentiating square / rounded if you have a proposal. What would you expect in terms of CLI usage without breaking existing commands and params?

@yleflour yleflour added the enhancement New feature or request label Feb 28, 2020
@puremana
Copy link
Author

Would be willing to look into differentiating square / rounded if you have a proposal. What would you expect in terms of CLI usage without breaking existing commands and params?

Having something like --round as an optional parameter on set-icon which if true, generates the ic_launcher_round files would be fine. Or, you could have an optional --iconname parameter which defaults to ic_launcher but would allow someone to enter in ic_launcher_round if they wanted to and then just do the manifest changes themselves. Either would have worked in my case.

Thanks for replying and looking into this so quickly by the way!

@adibas03
Copy link
Contributor

adibas03 commented Mar 6, 2020

@puremana do you think this is related to #14

@puremana
Copy link
Author

puremana commented Mar 6, 2020

@puremana do you think this is related to #14

Yes. Sorry I didn't see that issue before

@blackinitial
Copy link

yeah we need generate round icons, my icon app showing default icon on launcher
hmm..

@muhsin-k
Copy link

muhsin-k commented Sep 5, 2020

Any update on this?

@rahamin1
Copy link

How about creating the icons for android using https://romannurik.github.io/AndroidAssetStudio/icons-launcher.html ?

@yleflour
Copy link

Hey, sorry for the long silence. I currently don't have time to manage this library, the situation might evolve in the upcoming months but nothing I can commit myself to.

Regarding icons generation, I think the best way to do it is simply to open the android folder with Android Studio and use the embedded icon tool. I haven't been able to create a tool myself that matches its features and it's easy enough that I believe the Android Icon feature should be deprecated.

What do you think about this ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants