brian
brian

Reputation: 6912

Android menu button not show

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

Answers (4)

Bob
Bob

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

tres.14159
tres.14159

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

Chandra Sekhar
Chandra Sekhar

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

Till
Till

Reputation: 692

Android 4.0 will discontinue the menu button. Here is a nice article by android developers that says what to do.

Upvotes: 14

Related Questions