Search code examples
androidandroid-studioassets

Creating image asset in Android Studio


I am trying to create an image asset in Android studio. I am facing problem at 2 levels. First, when I launch Asset Studio and select an image with Asset Type set as 'Launcher Icon', asset is created inside mipmap folder instead of drawable folder.

enter image description here

So I changed Asset type to 'Action Bar and Tab icons'.But it causes image to appear as white blocks.

enter image description here

Please advise what I am supposed to do.


Solution

  • About the first problem, the behavior is correct.You have to save your ic_launcher in the mipmap folder See android documentation

    The 'Action Bar and Tab icons' is for icons only, and icons are defined by Android to use only one color