Top "Android-menu" questions

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

how to center icons in toolbar in android

I asked a similar question here... I got some tutorials in the answers. But this question is diffrenet. because none …

android android-layout android-toolbar android-menu
How can I change option menu in different fragments?

I have a Fragment with menu: public class FragmentA extends Fragment { public FragmentA() { setHasOptionsMenu(true); } @Override public void onCreate(Bundle …

java android android-fragments android-actionbar android-menu
How do I get a copy of the Android overflow menu icon?

How do I get a copy of Android's overflow menu icon to use in a custom menu.

android android-actionbar android-menu
Add toggle button to the menu to stop and start service

I am trying to enable the user to stops and starts service which I am implementing from the Menu where …

android android-layout android-menu
When does onCreateOptionsMenu happen in an ActionBar enabled activity?

I know the menu item will be set as action icons in the ActionBar. I want to know exactly this …

android android-activity android-actionbar android-menu
How to make whatsapp type of animation for opening the menu from toolbar(actionbar)

Description: I recently updated whatsapp and noticed the animation for menu item clicked on toolbar. How to achieve this effect? …

android android-menu whatsapp
Different menu for different tabs in tab+swipe application for android project

I am a beginner to android applications and java, basically I am a PHP developer. I've a project for a …

android tabs android-fragments swipe android-menu
Navigation Drawer item remains selected Android

My navigation drawer keeps showing the last selected item.Is there any way to remove it.I want that if …

android android-activity android-menu navigation-drawer
What is the difference between onCreateOptionsMenu(Menu menu) and onPrepareOptionsMenu(Menu menu)?

Explain difference between onCreateOptionsMenu(Menu menu) and onPrepareOptionsMenu(Menu menu).

android android-menu oncreateoptionsmenu
BottomNavigationView Original icon color

I have my bottomNavigationView : And i added this class to prevent it from doing shiftingMode : public class BottomNavigationViewHelper { public static …

android android-menu android-bottom-nav-view