问题
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.
So I changed Asset type to 'Action Bar and Tab icons'.But it causes image to appear as white blocks.
Please advise what I am supposed to do.
回答1:
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
来源:https://stackoverflow.com/questions/32919692/creating-image-asset-in-android-studio