I would like to open the optionsMenu programmatically without a click on the menu key from the user. How would I do that?
For developers using the new Toolbar class of the Support Library, this is how it's done:
Toolbar
Support Library
Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar); toolbar.showOverflowMenu();