Top "Android-menu" questions

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

Android Studio 3.1 does not showing 'android' option under Tools menu

I am using android studio 3.1 for some development. But Its does not showing android option under Tools menu. Whereas Android …

android android-menu android-studio-3.1
actionlayout on menuitem does nothing

i am setting an actionLayout on a menu item and setting background color and image, but it's not respected. in …

android android-actionbar android-menu
Reduce Menu items width,height and textview size

I had done a menu overflow items.I need to reduce menu items width,height and textview size. I referred …

android menu android-menu
create new menuInflater or getMenuInflater() from activity?

I'm creating new option menu inside fragment but after reading http://developer.android.com/resources/articles/avoiding-memory-leaks.html which said …

android android-menu
How can I get menu item in NavigationView?

<android.support.design.widget.NavigationView android:id="@+id/drawer_nav" android:layout_width="wrap_content" android:layout_height="match_…

android android-support-library android-menu android-design-library android-navigationview
How to programmatically trigger/click on a MenuItem in Android?

I have these menu items in my menu_main.xml <menu xmlns:android="http://schemas.android.com/apk/res/…

android android-actionbar android-menu
How to implement dynamic values on menu item in Android

I have a menu item in the action bar. Along with the menu item image, I need to show some …

android menu android-actionbar android-menu
How to add menu button without action bar?

I'd like to add a menu button to the right top corner of my app and without action bar, like …

android android-menu
How do you remove an inflated menu/items from the new Lollipop Toolbar?

I include a v7 Toolbar in my layout. <android.support.v7.widget.Toolbar android:id="@+id/toolbar" android:layout_…

android android-menu android-toolbar
Android align menu items to left in action bar

i have action bar in my application that displays menu items defined in my res/menu/activity_main.xml My …

android android-actionbar android-menu