材料浮动标签文本字段尺寸不超过72dp

时间:2015-10-02 15:01:47

标签: android android-layout material-design

textinputlayout中的间距问题以及查看官方设计指南时,数字不能达到72.

16 + 12 + 8 + 16 + 16 = 68 ???

enter image description here

enter image description here https://www.google.com/design/spec/components/text-fields.html#text-fields-floating-labels

1 个答案:

答案 0 :(得分:0)

sp和dp是不同的单位。 1sp不等于1dp。这就是为什么这些数字不能达到72