Top "Android-menu" questions

Questions regarding designing, implementing and handling menus and action bars in Android.

Cannot instantiate class android.support.v7.widget.SearchView

Please somebody help me! I trying add appcompat search view to my project. Unsuccessfully. When I change android.support.v7.…

android android-menu searchview android-appcompat
How to make option menu appear on bottom of the screen?

Here is what I am trying to implement: when people click on the menu on top right corner of a …

java android android-layout android-xml android-menu
Bottom navigation view with custom item (actionLayout)

I would like to add a custom item in the new BottomNavigationView . There are plenty of tutorial of adding a …

android android-view android-menu
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
How to add an image with text in menu options in Android?

I'm trying to implement a customized menu option with both, text and image, which looks like this image: Unfortunately I …

java android android-layout android-menu android-icons
How to hide menu on fragment (which is being replaced from the layout)?

I have checked and tried out all the possible codes here but those didn't work for me as i am …

android android-activity android-menu
How to override web view text selection menu in android

The basic android's web text selection menu is as shown in image attached below. It has options like copy, share, …

android webview android-menu
Android PopupMenu how to change menu item text color?

I have created style that change the popup menu background color and now i need to know how to change …

android android-menu android-popupwindow
menu inflating calls multiple times at fragment's onCreateOptionsMenu

I use Fragments and when I switch to nested Fragment, which implements public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) my …

android android-fragments contextmenu android-menu
How to change menu theme in Android

My android application uses the following style: <style name="AppTheme" parent="android:style/Theme.Holo" ></style> …

android android-theme android-menu