[Android] - Import icon from image file


I used to import an image file from eclipse&ADT and eclipse generated all images in drawable-x folders for differents sizes.
I don't find the same thing with IntelliJ Idea.

How can I do it in this way? Just select a file and generate all files in different drawable folders?

I tried but I found how create ressource, but not what I want.

Thank you!

Comment actions Permalink


Do you mean that ADT resizes your icon for different densities automatically and places these images into different drawable-x directories? As I know, IntelliJ IDEA has no such feature.

Comment actions Permalink

Yes, it's what I mean. I just have to select an image (.png, .jpg, etc.) and eclipse will resize each image and store it in the folders (drawable-hdpi, drawable-xxx) automatically.

Okay, thank you.


Please sign in to leave a comment.