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意味着孩子想要和父母一样大......也许他们想让它听起来更真实?

链接地址: http://www.djcxy.com/p/85346.html

上一篇: 家长在android中

下一篇: 为什么匹配