Is there a list of density values for different android devices? I know how to check it programmatically but I this doesn’t work if I don’t have a specific device.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As a general rule, if you know the screen resolution of the device you can determine what density bucket it’s going to fall into. This is because density is a function of resolution and physical size, and manufacturers tend to pick a screen size that fits the display resolution. As such, here is a list I use of all the common resolutions found on the market.
LDPI: QVGA (320×240), WQVGA (432×240)
MDPI: HVGA (480×320), WXGA (1280×800), SVGA (1024×600)
HDPI: WVGA (800×480), FWVGA (854×480)
The reason those two really high resolutions exist in MDPI is because they are only used on tablets, which have a larger screen size…so the dpi rating works out to still be in the midrange.
Also, you may find this information on Screen Sizes and Densities useful, from the Developer portal.
HTH!