What is the difference between match_parent and fill_parent?

Asked 2 years ago, Updated 2 years ago, 115 views

If you look at XML properties, there are match_parent and fill_parent What's the difference between the two? It looks similar to me, so I'm confused

android-layout user-interface android unit

2022-09-22 10:58

1 Answers

In API 8+, they both mean the same thing. But fill_parent is defined, so you can use match_parent.


2022-09-22 10:58

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.