Create Circular Launcher Icon

2020-04-06 02:50发布

问题:

I am trying to create circular launcher icons in Android Studio 2.2 but they keep coming out square. Has anyone else encountered this? Am I doing something wrong?

回答1:

After clicking Next you should get circular launcher icon.

Previews might be misleading as they have background as the icon.

After all, if you won't get what you expect, try: https://romannurik.github.io/AndroidAssetStudio/

Hope it will help



回答2:

Set the project structure to Android
For app module :-
1. Select app-> res
2. Right click on res folder, click on Image Asset
3. In Legacy tab set the shape to Circle


For wear module :-
1. Select wear-> res
2. Right click on res folder, click on Image Asset
3. In Legacy tab set the shape to Circle



回答3:

Go to under "File > New > Asset Studio", then look for Foreground, Background, Legacy. Click on Legacy and choose "circle" from the drop-down menu under "shape".