androiddirectoryresolutionandroid-drawablehdpi

How To Properly Use Drawable Folder Eclipse?


I am a newbie programmer, but I am almost done with my android game project.

However I still don't know how to use the drawable folders properly.

For example, if I have a image that is 32 by 32 pixels, which folder does it go to? And how big do I have to make it for the other folders?

Currently, I have these folders listed below: -drawable-hdpi -drawable-ldpi -drawable-mdpi -drawable-xhdpi

Since i did not know where to put my images, i just put them in all the folders but i don't think that's right....is it?

Thanks for helping.


Solution

  • Look this link there are lots of blogs written about this

    1.http://developer.android.com/guide/practices/screens_support.html#overview

    2.http://developer.android.com/training/multiscreen/screensizes.html

    3.http://www.slideshare.net/rffffffff007/supporting-multi-screen-in-android