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)