Skip to content Skip to sidebar Skip to footer

Why Did Match_parent Replace Fill_parent?

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

Solution 1:

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.

Solution 2:

match_parent means that the child wants to be as big as the parent...maybe they wanted to make it sound more realistic?

Post a Comment for "Why Did Match_parent Replace Fill_parent?"