【发布时间】:2017-12-06 07:39:52
【问题描述】:
我已将我的 API 降级为 7,但无法弄清楚 match_parent 和 fill_parent 在长度或宽度方面的填充或大小差异
【问题讨论】:
标签: android
我已将我的 API 降级为 7,但无法弄清楚 match_parent 和 fill_parent 在长度或宽度方面的填充或大小差异
【问题讨论】:
标签: android
FILL_PARENT 已重命名为 MATCH_PARENT 用于 API 级别高于 8 以避免开发人员的混淆
【讨论】:
... to avoid the confusion ... 嗯,看来这句话应该是... to add confusion ...
FILL_PARENT(在 API 级别 8+ 中重命名为 MATCH_PARENT)
https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html
【讨论】: