Questions tagged [action-menu]
28 questions
10
votes
2 answers
Hide TActionMainMenuBar?
I would like to have an option from my Application to toggle the display of the Main Menu.
Functionality can still be used through the Toolbar etc, so hiding the Menu will not take anything away. Hiding the Menu is really a GUI choice for…
user741875
9
votes
1 answer
Clicking on a menu item in action bar with Espresso when using onView(withId(...))
I am making a test using Espresso, first I open the action bar:
openActionBarOverflowOrOptionsMenu(getInstrumentation().getTargetContext());
Everything ok up to here, but then I want to click on an option…

Romina Liuzzi
- 741
- 8
- 13
7
votes
1 answer
How to use MultiChoiceModeListener in ListVIew with and with out supports?
I am trying to add multi-select context menu to a listview with support library 22.1.1 using AppCompatActivity and Toolbar
Without support library
I can use AbsListView.MultiChoiceModeListener
with support library,
There is no equivalent…

Tse Ka Leong
- 408
- 4
- 20
4
votes
1 answer
How to fully mimic Action item view in the toolbar, for a customized one?
Background
I have an action item that's not quite standard. It has its own layout, because I've failed to create a nice Drawable for it (written about it here).
Basically, it's just a TextView with a background that wraps its short text that it…

android developer
- 114,585
- 152
- 739
- 1,270
3
votes
1 answer
How to use DPAD to navigate through action menu item on Android 5
I am trying to add DPAD navigation support for my app. However, I found it is not possible to move the focus to the action menu items on Android 5. But it works fine on Android 4.4.4, see attached screenshot below, the robot icon is focused and…

Robin
- 10,052
- 6
- 31
- 52
2
votes
2 answers
Action-Menu missing
I'm using Plone 4.0.1 and I have the problem, that the action menu is missing. When I want to change the state of a site or copy/paste via "actions...", I just get to the page which is linked at this button, which is folder_contents for "actions".…

Brandon Flowers
- 75
- 5
2
votes
1 answer
How do I make a FAB transform into an action menu in Flutter
I've seen multiple examples and projects that include a speed dial such as is found in Google's own Calendar app. But instead, I want to make a FAB transform into an action menu such as is demonstrated on material.io. They show a graphic that…

odonckers
- 368
- 1
- 3
- 11
2
votes
1 answer
Android set menu items dynamically at startup
I need to change the title of a menu item in my action bar at startup based on a few variables which get created at the startup.
But for some reason I cant simply do that since the menu items take time to inflate maybe?
how do I get around this…

Ams
- 347
- 1
- 3
- 12
2
votes
1 answer
Styling the "Share" action menu
I'm trying to add a "Share button" to my app, but I haven't found a way to manage the styling of the ActionMenu displayed to choose the app to share content to.
Currently it appears as in this screenshot:
However, I'd like to change the background…

Raibaz
- 9,280
- 10
- 44
- 65
2
votes
1 answer
ActionMainMenuBar with 32x32 icon
Delphi Xe4. Form, ActionManager, ImageList (with 32x32 Icons), ActionMainMenuBar.
I can not ensure that the icons are displayed correctly. What should you do?
At the same time, if I apply any vcl style of decoration, it displays fine. But if the…

Gu.
- 1,947
- 4
- 30
- 49
1
vote
1 answer
Contextual Action Mode sometimes not shown
Since upgrading to compileSDK 31 (Android 12), some users have a really strange problem.
After selecting a list item in the Recyclerview the Action Menu is not shown with my edit button. The list item is shown as selected, but the action menu is not…

chrisonline
- 6,949
- 11
- 42
- 62
1
vote
2 answers
Android Studio: Adding Action Bar Item with "onClick" encounters "FATAL EXCEPTION"
So I'm starting to work on my first Android App and I've already hit a wall. I want to start off with a "Create" button at the action menu at the top that has the ability to create new contacts. But then I hit some sort of error I can't understand…

Xephos
- 63
- 1
- 11
1
vote
1 answer
Toolbar menu item programmatic click
I have this code
toolbar.setOnMenuItemClickListener(new Toolbar.OnMenuItemClickListener() {
@Override
public boolean onMenuItemClick(MenuItem item) {
openSearch();
return true;
}
});
into onCreate( ) of my Activity.…

Vihaan Verma
- 12,815
- 19
- 97
- 126
1
vote
2 answers
What is the difference between Option menu and Overflow Action Menu in android?
I have searched for Option menu and overflow Action menu, but did not get any difference in both.
Is there any difference or both are exactly same?

hawa4frnds
- 21
- 4
1
vote
3 answers
Android action buttons in action bar not appearing?
I want to create an add button in the action bar but it doesn't seem to appear when i run thee code.
Here is my main_activity.java
public class MainActivity extends ActionBarActivity {
@Override
protected void onCreate(Bundle…

user3599285
- 91
- 1
- 7