I'm trying to simply import an image into android studio, but the only way it works right is if you select it as a launcher icon, which you can't use within the app.
Here's a screenshot of my issue:
I'm trying to simply import an image into android studio, but the only way it works right is if you select it as a launcher icon, which you can't use within the app.
Here's a screenshot of my issue:
You can do it with this tool:
You also can use a plugin and do it inside Android Studio. Here there is an explanation:
How to import set of icons into Android Studio project
EDITED:
To set the background to transparent you just have to select shape none in this tool I mentioned. With the image asset you are using you don't have this option.
Not really sure what your problem seems to be, however PNG assets are alpha enabled, you should be able to import your image with transparent background with no problems.
Why don't you try intelliJ's Android Drawable Importer Plugin. With it you are able to select the asset, specify your color (if you want to), change the target resource name and select all the resolutions you want to import. It also has a Batch Drawable Import functionality that helps simplify repetitive import tasks.