I am currently using MATCH_PARENT throughout my application. I decided to make the application available for Android 2.1 users, but MATCH_PARENT was not introduced until Android 2.2
How can I do this if I want my application to use MATCH_PARENT when the Android version is 2.2 and higher, but uses FILL_PARENT if it is 2.1 (or lower if I decide to open it later)?
android android-layout backwards-compatibility
dokgu
source share