I found that both fill_parent
and match_parent
means the same thing
- fill_parent means that the view wants to be as big as its parent, minus the parent's padding, if any.
- match_parent means that the view wants to be as big as its parent, minus the parent's padding, if any.
The only difference that I found is that fill_parent
is deprecated starting from API Level 8 and is replaced by match_parent
However, I didn't notice any difference between these two. If both are the same then, why is fill_parent
deprecated. Can anyone explain any differences between these two except for the fact that one is deprecated and the other isn't?
I have gone through http://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html