How to classify Android Devices based on DPI values?

17.4k views Asked by At

In Android, various devices are classified into different categories based on their density.

LDPI = 120 DPI
MDPI = 160 DPI
HDPI = 240 DPI
XHDPI = 320 DPI
XXHDPI = 480 DPI
XXXHDPI = 640DPI

Here my doubt is, if an Android device has density as "200 DPI", will it falls under which of the above category? (example: Nexus 5 have 217dpi,whether it'll come under HDPI or MDPI).

Can anyone say, what is the exact range for different densities(LDPI,MDPI,XXHDPI.....).

3

There are 3 answers

0
Marcin Orlowski On BEST ANSWER

It's not one density but rather ranges (often called "buckets"). This is documented here and this picture I post below should explain how to classify it correctly (it lacks xxhdpi and xxxhdpi though, but the rule is the same)

enter image description here

1
Rick Falck On

TVDPI is around 200, and it uses the HDPI. I posted a question a while ago about DPI here and got no answers.

In this table, devices in that range are classified as TVDPI, and the docs says that it is not necessary to have this folder and it uses images in the HDPI folder and downsizes them.

3
Amit Yadav On

enter image description here

If you notice this image you will come to know

ldpi    100 - 140   
mdpi    141 - 199   
hdpi    200 - 319   
xhdpi   320 - 340