-1

How can I use drawable folder in Android Project for different images and icons for different devices? e.g

  1. drawable-hdpi ?
  2. drawable-ldpi ?
  3. drawable-mdpi ?
  4. drawable-xhdpi ?
  5. drawable-xxhdpi ?

and What size of images should be placed in particular folder?

Ganesh Katikar
  • 2,620
  • 1
  • 26
  • 28

2 Answers2

0

You dont need to use drawable folder. The android platform does that for you. You only need to place appropriate images at appropriate folders and the system will use the resources from that folder. You can have a look at google iconography for details about sizing.

Illegal Argument
  • 10,090
  • 2
  • 44
  • 61
0

I don't know how your app design looks like and what size of images your are going to put for your app design. In order to get ratio of LDPI,MDPI,HDPI,XHDPI and XXHDPI images, go through this link.

kgandroid
  • 5,507
  • 5
  • 39
  • 69
DanishKhan
  • 11
  • 6