Questions tagged [overflow-menu]
94 questions
50
votes
19 answers
How to disable/hide three-dot indicator(Option menu indicator) on ICS handsets
How to disable/hide three-dot indicator(Option menu indicator) on ICS handsets which does't have menu button. ?
I am running application as in Manifest, code is compiled with 4.0. Three-dot indicator shows on…

Subba
- 637
- 1
- 7
- 13
14
votes
2 answers
Actionbar's overflow menu open/close listener
I want to listen when user opens/closes the overflow menu (three dots) of ActionBar, someway like this:
void onOverflowMenu(boolean expanded) {
}
To handle open cases, I've tried onPrepareOptionsMenu(), but it's triggered when ActionBar is…

Dima Kornilov
- 2,003
- 3
- 16
- 25
7
votes
3 answers
anchor popup menu over overflow button
I'm trying to create a custom popup menu that I would like to position on the overflow menu button of the actionbar (am using a Toolbar with setSupportActionBar() for this if it matters). I found out that this can be done with the setAnchorView()…

source.rar
- 8,002
- 10
- 50
- 82
7
votes
4 answers
Detect click on Actionbar's Overflow menu button
Can I detect click/tap on the menu button of action bar, i.e. used to show overflow menu items?
By default it opens up the list with one item "Settings". Here is the screenshot:
Until now it is detecting click on "2" but I want to detect click on…

user3917800
- 127
- 3
- 10
7
votes
3 answers
Double callbacks onMenuOpened/onPanelClosed on each menu button press
In my Android app I want to collect statistics on when (how often) the overflow (three dots) action bar menu is opened and closed (without an item being selected). For this task I have overriden onMenuOpened and onPanelClosed methods within an…

Leo K
- 808
- 1
- 9
- 24
5
votes
4 answers
How to remove overflow menu 3-dots?
Please help me understand. I read somewhere saying that if I set up android:targetSdkVersion="14.
These 3-dots will be gone.
Why these 3-dots still show up on mine?
They don't show up until I come back from another activity. I pressed the menu key…

User2014
- 87
- 3
- 9
4
votes
1 answer
Android Overflow Menu Checkbox Color
Is there a way to change the color of the checkbox in an android overflow menu.
My Current Checkbox is this:
-

Zander B
- 247
- 3
- 15
4
votes
7 answers
New Android Toolbar: How to hide the overflow menu icon?
I just created an app including the new Android toolbar. My problem is: How would I hide this overflow menu icon/button: http://prntscr.com/62mmus ?
I already tried this, but it's not working:
Toolbar mToolbar = (Toolbar)…

dahwN
- 67
- 1
- 1
- 8
4
votes
1 answer
Selecting overflow menu item on TextView CustomActionModeCallback
I am trying to present a custom action bar while long pressing a textview. My menu has more than 5 items which causes some of the items to be present under the overflow menu.
When I press the overflow icon, the action bar gets destroyed and I am not…

Mahadevan Sreenivasan
- 1,144
- 1
- 9
- 26
3
votes
0 answers
Android overflow menu API level 24
Is there any behavior changes in connection with overflow menus in API level 24? It seems menus now draw submenus near the main menu (if there is enough space). Am I wrong? And some menus (with submenus) invoke crashes on my emulators. Here is an…

user35603
- 765
- 2
- 8
- 24
3
votes
1 answer
Using 3 vertical dots in android for any view
Good day i am trying to use android default 3 vertical dots icon.Meanwhile searching in the sdk resources and googling all day long i did not find any of help.Can you please tell me what does even the 3 dots at least called in android and how to use…

Android Developer
- 673
- 1
- 7
- 19
3
votes
2 answers
Overflow menu is not showing in an Activity with a tab style navigation implemented with TabLayout
The overflow menu icon is not showing in my Activity with a tab style navigation layout. The tabs are implemented using a ViewPager, Fragments and a TabLayout.
The overflow menu is showing in my Activities which do not have tabs which makes me…

Micah Simmons
- 2,078
- 2
- 20
- 38
3
votes
1 answer
How to set a custom color for the popup of action items, including of the overflow menu?
Background
I'm working on adding some material design style for an app, so I've chosen a different color for the action bar and status bar.
The problem
For this, the theme of the app is of "Theme.AppCompat.Light.DarkActionBar", and added this to…

android developer
- 114,585
- 152
- 739
- 1,270
2
votes
3 answers
How to remove end padding of checkable menu item?
I have an overflow menu with a checkable menu item. I would like to align the CheckBox all the way to the end, but I don't know how this can be done.
My menu is defined like so:
2
votes
1 answer
Title and Overflow menu in toolbar
How can I add overflow menu without setSupportActionBar(toolbar) because when I'm doing like this overflow menu appears but then toolbar.setTitle(""); does not work along with other toolbar methods, and I have to setTitle and other things using…

blackHawk
- 6,047
- 13
- 57
- 100