Top "Android-optionsmenu" questions

Used to display the options of a application on android devices, this can be at the bottom of the application when the menu-button is pressed or in the overflow-menu of the actionbar.

Option Menu does not appear in Android

I have this code to create the menu: @Override public boolean onCreateOptionsMenu(Menu menu) { super.onCreateOptionsMenu(menu); MenuInflater inflater = getMenuInflater(); …

android android-xml android-menu android-optionsmenu
How to sort menu items in the an android app's options menu?

I have an options menu created and filled with several menu items. For some reason the order of the menu …

android menuitem android-optionsmenu
OptionsMenu of Fragments in Viewpager showing each other's Buttons

I've got three fragments in a viewpager. Two of these fragments have their own version of the onCreateOptionsMenu method: @Override …

android android-fragments android-actionbar android-optionsmenu
onCreateOptionsMenu() calling super

I'm creating application with OptionsMenu. I found few examples with it, but everyone is using different place where to call …

android android-optionsmenu
Android action bar - disable options menu

How can I disable options menu item from my action bar? I made my own custom bar, for display *.png …

android android-actionbar android-optionsmenu
onCreateOptionsMenu() called twice in Fragment

I have a simple application with options menu, which changing at the start of fragments. The problem is that at …

android android-fragments android-optionsmenu
Android: java.lang.IllegalArgumentException: Invalid payload item type

Some users tell me about the exception the got: java.lang.IllegalArgumentException: Invalid payload item type at android.util.EventLog.…

android android-menu illegalargumentexception android-optionsmenu
java.lang.illegalstateexception: a factory has already been set on this layoutinflater

I have tried to change the background color of options menu in my android app. I am using ActionBarSherlock library. …

android background-color options-menu android-optionsmenu oncreateoptionsmenu
How to open OptionsMenu on tablet?

I have developed an android app that mainly targets smartphones. However in tablet emulator I see that it works on …

android android-optionsmenu
Pressing menu button causes crash in Activity with no ActionBar

I'm a newbie in Android and working on my first app. I have the main activity with no ActionBar in …

android android-actionbar android-optionsmenu