I have a Options menu in my Android application, and I have overridden the onCreateOptionsMenu, onOptionsItemSelected, and onPrepareOptionsMenu methods to customize the menu a bit.
My question is related to saving the "Options" menu after the user clicks on the menu item. Basically, I would like to hide the menu until the user clicks on the device’s menu button. As soon as the user clicks on this key, I would like to be able to keep the menu in place, no matter how many times the user clicks on the menu items. If the user wants to hide the Options menu, they just need to press the device’s menu button again.
Whether this type of interaction is supported (or even appropriate). If this interaction is not supported, any alternative suggestions are more than welcome.
Hooray!
Sean
android menu
seanoshea
source share