阅读背景:

android尺寸的差异:pt和dp

来源:互联网 

The documentation says that 160 dp (density-independent) equals 1 inch. And 72 pt is also 1 inch. So I don't see why android define a dp measurement while it seems to work the same as points. Can anybody explain that? Why should I use dp if I can use pt?The documentation says that 160 dp (density-ind




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: