czy1121 / czy1121.github.com

RE:从零开始的EZY
http://reezy.me
0 stars 0 forks source link

为什么规定每英寸160点的显示器上 1dp = 1px | RE:从零开始的EZY #34

Closed czy1121 closed 7 years ago

czy1121 commented 7 years ago

http://reezy.me/p/20160909/per-inch-160-dot-1dp-equals-1px/

先看 Google 的官方定义 在 160dpi 的屏幕上 1dp = 1px,160dpi 是系统为 mdpi 屏设定的基准密度。The density-independent pixel is equivalent to one physical pixel on a 160 dpi screen, which is the baseline density assumed by the s