Added Layout compatibility with Android 2.3