Some netizens said they do not understand the appearance of match_parent in layout. In the past, only fill_parent and wrap_content were used. What type of match_parent is actually? In fact, from Android 2.2, fill_parent was renamed as match_parent. From API Level 8, we can directly use match_parent to replace fill_parent. Finally, android123 reminds everyone that their definitions are essentially the same as-1, I just changed an alias. It may be more accurate. For example, the final definition in the SDK is:
Fill_parent-1 The View shoshould be as big as its parent (minus padding). This constant is deprecated starting from API Level 8 and is replaced by match_parent.
Match_parent-1 The View shoshould be as big as its parent (minus padding). Introduced in API Level 8.
Wrap_content-2 The View shoshould be only big enough to enclose its content (plus padding ).