Saturday, August 28, 2010

FILL_PARENT was renamed to MATCH_PARENT will cause String types not allowed (at 'layout_height' with value 'match_parent')

Having "Error: String types not allowed (at 'layout_height' with value 'match_parent').    Android AAPT Problem" in Eclipse?

Check what API Level you are using.

FILL_PARENT was renamed to MATCH_PARENT in API Level 8 (Android 2.2)

I personal think "FILL_PARENT" makes more sense, but I was using them both thinking they did different things.  Probably best to just use "FILL_PARENT" for everything for now. 

API 8 is pretty new.

No comments: