Start ICS emulator without Menu button

2019-04-18 11:24发布

问题:

I'm trying to see the overflow menu in the ActionBar on ICS and I don't have a device.

I'm using the emulator and want to know, how do I start the emulator without a Menu button? I want to emulate a device with no Menu hardware button.

I've looked on: http://developer.android.com/guide/developing/tools/emulator.html but I don't see how to do this.

Thanks for any help.

回答1:

Ok, so just the next day Reto Meier posted on G+ that the new tools (version 16) have an option in the emulator that allows you to set in the Hardware section:

Hardware Back/Home keys

If you set this to no then you get the overflow menu in the ActionBar.