Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android icon generator for actionbar and notification not working (grey shape)

I found this Asset Studio to generate icons. It works fine for the launcher icon but for action bar or notification icons it is not working. I put in my png file and want to generate the icons, but Asset Studio is only generating gray circles. Is there another tool to generate action bar and notification icons?

enter image description here

like image 718
Mulgard Avatar asked Mar 02 '15 10:03

Mulgard


People also ask

How do I make my apps icon rounded?

Right click on app > Go to Image Assets > Choose icon type and other properties > Click next and finish. Here you can generate all icon shapes and replace with new easily. If you choose icon type as adaptive and legacy it will generate both square shaped and round shaped.

How do I make an icon round?

If you right click your res/drawable folder in Android Studio, then select New -> Image Asset , you will see the following wizard. This will let you easily create launcher icons that work in all shapes.


1 Answers

You can use a tool for creating generic icons in Asset Studio: https://romannurik.github.io/AndroidAssetStudio/icons-generic.html. To get it look like ActionBar Icon, you should make next actions:

  1. Choose image
  2. The size of image should stay at 24dip
  3. Change padding to 4dip
  4. Move foreground color thumb to 0%
  5. That's it! Download .zip now.

The sizes of icons will be pretty the same as you can get them with ActionBar Icon Generator.

How it looks for me: icon generator screenshot

like image 54
romtsn Avatar answered Oct 26 '22 06:10

romtsn