Creating an image object in Android Studio

I am trying to create an image object in android studio. I ran into a problem on two levels. First, when I launch Asset Studio and select an image with the Asset Type set to "Launcher Icon", the resource is created inside the mipmap folder instead of the drop-down folder.

enter image description here

So, I changed the Asset type to "Action Bar and Tab icons". But this makes the image appear as white blocks.

enter image description here

Please advise what I should do.

+4
source share
1 answer

About the first problem, the behavior is correct. You must save ic_launcher in the mipmap folder. See Android documentation.

"" "" " , Android

0

Source: https://habr.com/ru/post/1610073/


All Articles