added support for <API 17 in layout/main_activity.xml