Top "Menuitem" questions

A menu item is a child element of a menu that provides the user a means to view and execute a specific application operation.

How to set icon color of MenuItem?

I defined a menu item that has ShareActionProvider and share white icon like so : <item android:icon="@drawable/ic_…

android menuitem
Android 4.3 menu item showAsAction="always" ignored

I'm using the new v7 appcompat library available starting from Android 4.3 (API level 18). Regardless of what is specified in showAsAction …

android menuitem android-support-library android-actionbar-compat
Android adding a submenu to a menuItem, where is addSubMenu()?

I want to add a submenu inside my OptionsMenu to a menuItem, programatically according to my parameters. I've checked "MenuItem" …

android menu menuitem submenu
Android : Get view Reference to a Menu Item

I plan to use quick actions UI pattern in my application. Android Quick Actions UI Pattern . The quick action window …

android view menu menuitem quickaction
How to display menu item with icon and text in AppCompatActivity

I tried different combinations in xml file: <menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="…

android menuitem android-toolbar appcompatactivity
How to add submenu items to ActionBar action in code?

Via xml I can add submenu items to my action in the ActionBar. main_menu.xml: <?xml version="1.0" encoding="…

android android-3.0-honeycomb menuitem android-actionbar
Dynamically adding ToolStripMenuItems to a MenuStrip (C#/ Winforms)

I have my solution implemented (basic solution) and I'm happy. Problem is when I add new items to a ToolStripItemCollection …

c# winforms menuitem
Android Change Navigation Drawer Menu Items Text programmatically

I have the new Navigation Drawer in my app and I want to change the navigation view menu items title …

android text menu navigation-drawer menuitem
How can I dynamically create menu items?

I'm building an Android application and I'm trying to build a user management system where users can login, logout, etc. …

android android-layout dynamic menuitem android-menu
WPF setting a MenuItem.Icon in code

I have an images folder with a png in it. I would like to set a MenuItem's icon to that …

c# wpf icons menuitem