Android DP and PX conversion table

Source: Internet
Author: User

Density type represents the resolution (PX) screen Density (dpi) conversion (PX/DP) proportions
Low Density (ldpi) 240x320 120 1dp=0.75px 3
Medium Density (MDPI) 320x480 160 1dp=1px 4
High Density (hdpi) 480x800 240 1dp=1.5px 6
Ultra high Density (xhdpi) 720x1280 320 1dp=2px 8
Ultra high Density (xxhdpi) 1080x1920 480 1dp=3px 12
2k screen (xxxhdpi) 1440x2560 640 1dp=4px 16

Android DP and PX conversion table

Android DP and PX conversion table

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.