Pixel, resolution, screen size (screen must SEE)

Source: Internet
Author: User

Brief introduction:

Always understand the common units in Android is not very thorough, share under today. What's not in place, welcome to point out


Meaning:

1, Screen Size: Physical size (cell phone diagonal size, such as 4.7, 5, 5.5 inches of mobile phones)

2. Density (dpi): the pixels shown per inch

3, Pixel (px): The size measured on the real screen

4, DP: screen width and px of a ratio, on the large-screen mobile phone corresponding to the PX, small screen corresponding px less


Chart:

It's easy to understand the relationship between pixels, resolution, density



Ratio (ratio of various screen densities):

ldpi:mdpi:hdpi:xhdpi:xxhdpi:xxxdpi = 0.75:1:1.5:2:3:4 = 3:4:6:8:12:16

Find a pattern, that is, this ratio multiplied by 12 to get the corresponding screen density mobile desktop icon icon size, see the table above

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Pixel, resolution, screen size (screen must SEE)

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.