Top "Android-menu" questions

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

android getMenuInflater() in a fragment subclass - cannot resolve method

I am trying to inflate a menu in a class that inherits the Fragment class. Here is my OnCreateOptionsMenu() method …

java android android-fragments android-menu
android.support.v7 with `ActionBarActivity` no menu shows

In the new update Google has released a new API support library, that supports the ActionBar in API level 7+. I …

android android-actionbar android-menu android-support-library
Modify style of Android items in the ActionBar

How can I modify the style of the items on the Action bar of an Android Application? I tryed the …

android android-layout android-3.0-honeycomb android-actionbar android-menu
Using onPrepareOptionsMenu instead of onCreateOptionsMenu in Fragment

I had a problem setting up some fragment menu items in the ActionBar and I found a way to solve …

android android-fragments events menu android-menu
How to add title in Navigation drawer layout?

[UPDATE] I solve the problem by adding addHeaderView : protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_…

android android-layout android-menu navigation-drawer
how to reload menu android in the same activity?

I have a menu in my app android. When I click on add favorites, I need to reload the menu …

android android-menu
How to get dividers in NavigationView menu without titles?

I am using the new NavigationView to create my navigation drawer menu from XML. I need to place a divider …

android android-menu divider navigationview
getMenuInflater( ) method undefined issue in Android Context Menu creation

I am trying to create a context menu item inside a fragment. But I am facing issue with the getMenuInflater() …

android contextmenu android-menu android-contextmenu
Vertical sliding menu in Android

Is there a vertical sliding menu available for android. I need something similar to Sliding menu of the Google Plus …

java android android-menu android-sliding
Android App development error: "Bad XML block: header size 60 or total size 3932356 is larger than data size 0"

I checked other posts that were similar and they recommended to clean the build path, but that did not help …

android android-menu