Search code examples
androidandroid-actionbarandroid-optionsmenu

Disable menubutton in the android emulator


When developing applications for ICS - the actionbar looks different depending on if there is a physical menubutton present on the device or not.

For example if not, a virtual button is displayed in the actionbar.

Is it possible to emulate a device without a menubutton by disabling it somehow in the emulator?


Solution

  • There is an option "hardware back/home keys". Specify the option and set it to "no" when creating the virtual device.