menuitem Questions
5
Solved
I am building a macOS-app using SwiftUI and the new App lifecycle.
I would love to change the contents of the “About Window” (that appears when you tap “About DemoApp” in the apps’ menu) but have n...
7
Solved
My menu item become bigger so that I want group them and make a line divider to separate each group.
What should I do now ?
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xm...
Forsworn asked 1/12, 2015 at 2:20
5
Solved
I have my solution implemented (basic solution) and I'm happy.
Problem is when I add new items to a ToolStripItemCollection using the 'Add' method, I get a few overloads ... the meaningful one be...
4
Solved
How to define MenuItem.Icon so that the MenuItemHeader text would be placed below the menu item image?Thanks for help!
2
Solved
If you're declaring MenuItems, I've always seen their Header properties declared like this:
<MenuItem Header="_Edit">
<MenuItem Header="_Undo"/>
<MenuItem Header="_Redo"/>
<...
27
Solved
I have an action bar with a menuitem. How can I hide/show that menu item?
This is what I'm trying to do:
MenuItem item = (MenuItem) findViewById(R.id.addAction);
item.setVisible(false);
this.inva...
Machicolate asked 21/5, 2012 at 21:18
19
Solved
Given the following code:
<MenuItem x:Name="MenuItem_Root" Header="Root">
<MenuItem x:Name="MenuItem_Item1" IsCheckable="True" Header="item1" />
<MenuItem x:Name="MenuItem_Item2" ...
0
I implement this successfully
After that I want to implement custom search bar with menu icon like this on TopAppBar and no suggest strings needed, but this custom search bar not created by me
Pl...
Ephraimite asked 26/8, 2023 at 16:11
11
Solved
As I liked the design from BottomNavigationView I decided to implement a new Menu for my App with it, instead of just using simple buttons.
I took this post as a guideline.
According to BottomNa...
Wheresoever asked 29/12, 2016 at 2:18
2
Solved
I am using primefaces 5.1, liferay 6.2.0-ga2 and JSF2. I have a page with button. When I press right-click a context menu with one menuitem is displayed. That menuitem must open a new tab, but it d...
Cuthburt asked 11/11, 2015 at 17:16
13
Solved
I'm trying to change the title of a menu item from outside of the onOptionsItemSelected(MenuItem item) method.
I already do the following;
public boolean onOptionsItemSelected(MenuItem item) {
t...
8
Solved
I create a menu and want to highlight the item which i choose,and i did it. But when i press back/forward button,the menu item don't highlight. What should i do?
I have tried to use addEventListe...
Chancellor asked 9/12, 2016 at 6:52
5
I want to change the menu item's icon dynamically as I get notification from a server. However, I'm getting a NullPointerException when the codes to change the menu item's icon run.
Codes I used t...
Fellner asked 20/1, 2015 at 9:44
2
Solved
The SpreadsheetApp.AddMenu(name, array of entries) produces a new menu in the top bar of the spreadsheet. Alternatively, there is the getUI.createMenu that results in an array of items. Both work f...
Leatri asked 30/12, 2016 at 23:20
6
I want to implement a custom action bound to the Command+R keyboard shortcut in an electron application.
I cloned the electron-quick-start repo, and changed the main.js file to this:
const { app,...
Buffy asked 28/8, 2016 at 10:47
13
Solved
I'm using the new v7 appcompat library available starting from Android 4.3 (API level 18).
Regardless of what is specified in showAsAction for a menu item, it's not shown - it always creates the o...
Bangka asked 28/7, 2013 at 23:24
4
Solved
When I add a menu item using onPrepareOptionsMenu, the menu item duplicates its self in the action bar. I'm using fragments and creating the initial menu in the ActionBar in the main activity like ...
Laid asked 29/2, 2012 at 0:10
4
Solved
I want to create a context menu where one of the menuItem would be a submenu with a choice among enum values.
I do not want to hard code any of the values from my enum into xaml because I want tha...
2
according to recent Ian Lake post
And if you haven't looked at NavigationView recently, it actually got
quite an update in version 23.1.0 [1] with the addition of
app:actionLayout support for ...
Arrant asked 13/11, 2015 at 9:23
29
Can I change the background color of a Menu item in Android?
Please let me know if anyone have any solution to this. The last option will be obviously to customize it but is there any way for chan...
Gittle asked 19/8, 2010 at 6:29
3
Solved
I have and app created using the Navigation Drawer Activity Layout.. And I need to enable/disable some items programmatically
Menu Example
Example: I want to disable the Menu Item id nav_item2
I...
Mockheroic asked 29/4, 2016 at 13:51
17
Solved
I need to center align a horizontal menu.
I've tried various solutions, including the mix of inline-block / block / center-align etc., but haven't succeeded.
Here is my code:
<div class="topme...
2
I'm developing an application where I'm using new design support library's navigation view controller for drawer menu. Everything is working fine. I've set items for navigation view using app:menu ...
Prophesy asked 20/1, 2016 at 7:25
6
I have the new Navigation Drawer in my app and I want to change the navigation view menu items title text dynamically from code. I have watched many posts but I can't figure out, how can I do this....
Hairy asked 22/10, 2015 at 15:29
3
Solved
1 Next >
© 2022 - 2024 — McMap. All rights reserved.