3
votes

android image size different mdpi, hdpi, xhdpi, xxhdpi ? i have a mdpi image 20*20 how to measure hdpi, xhdpi, xxhdpi how to make other resolution image different screen sizes due to Android having set standard size ?

2

2 Answers

7
votes

Here is the scale factor list for each density:

  • ldpi = 0.75x
  • mdpi = 1.0x
  • hdpi = 1.5x
  • xhdpi = 2.0x
  • xxhdpi = 3.0x
  • xxxhdpi = 4.0x

So for example, if your mdpi image size is 20x20 then xhdpi size should be 40x40

1
votes

you can use the following chart

mdpi                  20 * 20 pixels
hdpi   (mdpi * 1.5)   30 * 30 pixels
xhdpi  (mdpi * 2)     40 * 40 pixels
xxhdpi (mdpi * 3)     60 * 60 pixels