FILL_PARENT and MATCH_PARENT [duplicate]
问题 This question already has answers here : What is the difference between match_parent and fill_parent? (16 answers) Closed 5 years ago . Right now I am using MATCH_PARENT all throughout my app. I've decided to make the app available to Android 2.1 users but the MATCH_PARENT is not introduced till Android 2.2 How should I go about doing this if I want my app to use MATCH_PARENT when the Android version is 2.2 and above but use FILL_PARENT if it's 2.1 (or lower if I decide to open it to them