当前位置: 代码迷 >> Android >> Android 中的 Dimension 机关
  详细解决方案

Android 中的 Dimension 机关

热度:309   发布时间:2016-05-01 16:46:11.0
Android 中的 Dimension 单位

?写道
Any number followed by one of the following dimensions:
px—Actual pixels on the screen
dp (or dip)—Device-independent pixels relative to a 160dpi screen
sp—Device-independent pixels scaled by user’s font size preference
in—Inches based on physical screen size
mm—Millimeters based on physical screen size
pt—1/72 of an inch based on physical screen size
?
  相关解决方案