Why did match
Possible Duplicate:
What is the difference between match_parent and fill_parent?
Is deprecated word the only difference between fill_parent and match_parent
fill_parent
become deprecated. match_parent
should be used instead. They are functionally equivalent, the only difference is name. What was wrong with fill_parent
? I liked it.
What was wrong is that it does not fill the parent, but instead make it have the same dimension as the parent, or in other words match the parent dimension. The only case in which it does fill the parent is when the view is the single one in the layout.
match_parent
意味着孩子想要和父母一样大......也许他们想让它听起来更真实?
上一篇: 家长在android中
下一篇: 为什么匹配