1) fill_parent Setting the layout of a component to fill_parent will force the component to expand to fill as much space as possible within the layout unit. This is roughly the same as the DockStyle property of Windows controls. Setting a top layout or control for Fill_parent will force it to fill the entire screen. 2) Match_parent Android2.2 in Match_parent and fill_parent is a meaning. Two parameter meaning, match_parent more appropriate, so from 2.2 onwards two words can be used. So if you consider the use of the lower version, you need to use fill_parent.
There are netizens said that many projects in the match_parent appeared in layout feel not understand, in the past only fill_parent and wrap_content so match_parent exactly what type? In fact, from the beginning of Android 2.2 fill_parent renamed Match_parent, from the API level of 8 we can directly use match_parent instead of fill_parent, finally Android123 remind you, Their definition is essentially the same as-1, just a different alias, perhaps to be more accurate, such as the final definition in the SDK is:
Fill_parent-1 The view should is as big as its parent (minus padding). This constant are deprecated starting from API Level 8 and are replaced by match_parent.
Match_parent-1 The view should is as big as its parent (minus padding). Introduced in API level 8.
Wrap_content-2 The view should is only a big enough to enclose its content (plus padding).
What is the difference between fill_parent and match_parent in a layout file?