Both fill_parent
and match_parent
resolve to the value of -1, as per the documentation, so there is no compatibility issue with older versions of Android.
The Android SDK includes a tool, Lint, which can check for features that are only available in higher versions than your minimum API level. More details on how to run Lint can be found in the tool's guide.