0

Possible Duplicate:
Difference between drawable and drawable-mdpi

I can understand the role of drawable-ldpi, drawable-mdpi, and drawable-hdpi and their needed ratio size. But how about this folder "drawable", what is this folder for? What resolution of image should i put here?

Community
  • 1
  • 1
fire-fly3
  • 127
  • 3
  • 12

2 Answers2

4

It's a good (and usually the only sensible) place to put xml-based drawables (level lists, state lists, etc.) See the docs on drawable resources for all the possibilities. These drawables refer to other drawables, which are usually in the density-specific folders.

Ted Hopp
  • 232,168
  • 48
  • 399
  • 521
1

Basically that is the "default" folder, used when Android cannot find the best-matching folders. So for example, if you only have "drawable" and "drawable-ldpi" folders, but the device is actually mdpi, then the resources in the "drawable" folder will be selected.

henrykodev
  • 2,964
  • 3
  • 27
  • 39