Reputation: 41
This is what I see when I try to add an image asset in Android Studio. Normally, I remember it shows a preview of all the different sizes at the bottom. Once it is added to drawable/used in my code, it also shows it as blank. This is definitely a relatively new problem. Any ideas? Thanks!
Upvotes: 2
Views: 3359
Reputation: 1
If your image is an icon, you may want to use gimp to set the background to transparent and then retry with the Icon Type from "Action Bar and Tab Icons"
Upvotes: 0
Reputation: 6707
Change the Icon Type from "Action Bar and Tab Icons" to "Launcher Icons" because "Action Bar and Tab Icons" will color all available pixels in your image according to the theme you choose. In your case, it was "HOLO_LIGHT" which is a gray color.
Upvotes: 3