I write an application.
It run on Android 2.3.4 phone, the menu can be pressed.
But if run on Android 4.0.3 TF201, the menu button not show.
How to let it show the menu button?
Android 4.0 will discontinue the menu button. Here is a nice article by android developers that says what to do.
Answer:
If you want to give menu feature in android 4.0, you have to use Action Bar instead.Follow this link for more details
Answer:
If you have to use that menu use the following lines in your Manifest file:
<uses-sdk
android:minSdkVersion="9"
android:targetSdkVersion="9" >
</uses-sdk>
Answer:
But sometimes you want a fullscreen app…for example in the Manifest is setted the activity with:
android:theme="@android:style/Theme.NoTitleBar"
The only and ugly fix is to set under the target sdk version:
http://lancelotmobile.com/blog/mobile-air-app-compatible-with-android-4/
Tags: androidandroid, button