Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

android - show menu button on galaxy nexus

i need to have the menu button shown for some activities on galaxy nexus . i can't find how to do that, since it hides it by default . i don't wish to create an action bar since it takes more space that i want to use to other things . when setting the "android:targetSdkVersion" value to lower than 14 , it seems to show the menu button , but otherwise, it hides it . btw, the activity needs to be full screen , with no title/action bars .

it is very weird that this button is not shown by default for so many places (even the launcher) , and on some places it does exist . such a button is a very basic one for so many android devices . google decided that not only that , but instead , the switching button is more important to be shown and it's shown by default (no idea if it's possible to hide it, but i guess not , since home button no longer does anything when long pressed) .

anyway, please help me . i'm quite new on android 4 .

like image 436
android developer Avatar asked Jan 17 '12 16:01

android developer


People also ask

Where can you see the Menu button?

From the Home screen, tap > Settings > Display & gestures or Display, gestures & buttons. Select the Menu button option.


1 Answers

The Menu button has been deprecated in ICS. Your options are 1) run in legacy mode (targetSdkVersion < 14), 2) use an action bar with or without an overflow menu button, 3) add a menu button somewhere in your app area. 4) not using a menu and just adding its actions directly to your app area.

like image 97
user1076637 Avatar answered Oct 09 '22 06:10

user1076637