Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Menu Button on 4.0 Devices

Tags:

android

If my target SDK is set to 11 and I am using Theme.Holo.NoActionBar, is there any way to get my menu to appear? I am using Theme.Holo for larger screens such as tablets, but purely in the interest of saving screen space, I'd like to not show the Action Bar on smartphones.

However, I don't know if some sort of "soft" menu button appears in this case like it does for apps targeted at earlier versions. I'm not sure if the emulator shows a realistic device screen layout, and I don't have a 4.0 phone (i.e., a Nexus) to try it on (and I'll have to wait a while to get one unless AT&T eventually gets the Nexus).

like image 444
gordonwd Avatar asked Dec 06 '22 18:12

gordonwd


1 Answers

Note that the three dots (aka 'overflow') will not show up at the bottom if you set targetSdkVersion >= 14.

like image 180
user1139880 Avatar answered Dec 29 '22 13:12

user1139880