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)
How to classify Android Devices based on DPI values?
-
29-08-2022 - |
문제
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.....).
해결책
다른 팁
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.
제휴하지 않습니다 StackOverflow