What is the difference between match_parent and fill_parent?

后端 未结 17 2005
离开以前
离开以前 2020-11-22 07:37

I\'m a little confused about two XML properties: match_parent and fill_parent. It seems that both are the same. Is there any difference between the

17条回答
  •  半阙折子戏
    2020-11-22 08:27

    match_parent is used in place of fill_parent and sets it to go as far as the parent goes. Just use match_parent and forget about fill_parent. I completely ditched fill_parent and everything is perfect as usual.

    Check here for more.

提交回复
热议问题