I implemented an app that works from 2.1 and on. But my app has the menu functionality to exit from the app. I installed the app in an Ice Cream Sandwich (ICS, version 4.0) device and it's working fine. But ICS doesn't have menu buttons - instead of this it has the action bar. I am new to this concept. I want to integrate this into my app. I tried but I am not succeeding.
For this I follow these steps:
android:targetSdkVersion="11"
in the Android manifest.android:showAsAction="ifRoom|withText"
--> add to menu.xml (which is in the menu folder) but I get the following error:
No resource identifier found for attribute 'showAsAction' in package 'android'