Reputation: 6912
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?
Upvotes: 8
Views: 9977
Reputation: 23000
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>
Upvotes: 2
Reputation: 920
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/
Upvotes: 0
Reputation: 19492
If you want to give menu feature in android 4.0, you have to use Action Bar instead.Follow this link for more details
Upvotes: 2