Questions tagged [overflow-menu]

94 questions
2
votes
1 answer

Android: Launching an alert dialog from an overflow menu item

I am trying to launch an alert dialog from an overflow menu item. The dialog layout is in dialog_settings.xml. import android.support.v7.app.AlertDialog; /** Code omitted */ @Override public boolean onOptionsItemSelected(MenuItem item) { …
Wasabi5000
  • 23
  • 5
2
votes
1 answer

Overflow Menu PopUp

I have recently replaced the appcompat in my app with the design library ('com.android.support:design:24.2.0'). The overflow menu popup is now appearing to the centre of the screen instead of the right on the tablet I'm testing on (Samsung Tab with…
2
votes
2 answers

Android: How to remove overflow menu icon tooltip?

In Android, when you onLongClick an overflow menu item icon, a tooltip of its title will appear. I've tried setting the menu title to blank, but a blank tooltip will pop up.
mco
  • 1,809
  • 15
  • 31
2
votes
1 answer

appcompat v7 overflow icon color different in V-21

I have Imagebutton with src="@drawable/abc_ic_menu_moreoverflow_mtrl_alpha" using appcompat-v7 21.0.3.
MohK
  • 1,873
  • 1
  • 18
  • 29
2
votes
0 answers

Deactivate Appcompat on Android Studio

I moved from using Eclipse to use Android Studio, but I foun with a problem, AppCompat is bringing me some problems and I don't want to use it so I tried to deactivated but I didn't find a way. There is an option in Android Studio to deactivate it?…
2
votes
2 answers

The menu item isn't showing in the ActionBar, only in overflow menu

I have exactly the same problem as in these threads: No actions or icons showing on the actionbar; only in overflow Menu items won't show up in the actiobar No one has offered a solution, so I want to bring it up again. I have a xml-file,…
iHank
  • 526
  • 9
  • 22
1
vote
1 answer

Custom Overflow Menu Of Toolbar Android

I am trying to implement a custom overflow menu in a toolbar, the image is attached for reference. I went through many tutorials and articles to implement the desired result but was unable to do it. I managed to implement it a little bit but was…
1
vote
0 answers

Toolbar menu item text doesn't align with icon

How can I align text with the icon? It is working fine if I remove parent property but it is being used by some other activity so I cannot remove it. I think I might have messed up somewhere in layout xml file but couldn't find it…
1
vote
0 answers

How do i add overflow menu on custom action bar?

I want use custom toolbar because of title and subtitles but I also want to add overflow menu and I did everything and my toolbar doesn't showing overflow menu what I'm suppose to do Main Activity Layout xml
1
vote
2 answers

Adding a Badge on Overflow Menu icon - Android

Is there any easy way of adding a simple badge/dot on the Overflow Menu (three-dot menu) icon on the Toolbar? I'm trying to show the user that there is a new menu item inside. Note that I should be able to add/remove this programmatically. Any help…
Roshana Pitigala
  • 8,437
  • 8
  • 49
  • 80
1
vote
1 answer

S-Pen forces menu list to jump back to the top

The S-Pen does not scroll properly with a MenuDropDownListView after being created when pressing an OverflowMenuButton on the Toolbar (see gif below). The menu is forced back to the top when the S-Pen makes contact. This issue does not seem to be…
1
vote
1 answer

Overflow button overlap other actions icon in ActionMenuView

I Used ActionMenuView to render menus. But the overflow button of ActionMenuView overlap last action icon: This is my code:
Ali.M
  • 311
  • 6
  • 24
1
vote
3 answers

How to dismiss overflow menu when home button is pressed android?

I am displaying overflow menu list when we click the three dots. When I press home button and again when I launch the app, overflow menu list is still displaying. How to dismiss overflow menu list window? public class MainActivity extends…
Shadow
  • 6,864
  • 6
  • 44
  • 93
1
vote
2 answers

How to set margins on the overflow menu icon?

Hello. I want to move the icon to the left in toolbar. In menu.xml, There is no margin property. I want to set margin to overflow menu's icon. How to set margin? ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ activity_main.xml
ybybyb
  • 1,385
  • 1
  • 12
  • 33
1
vote
1 answer

(android) Why doesn't app:actionLayout="" work?

Hi I'm using Navgation Drawer. I want to change from text to text and icon at overflow menu items. So i used 'android:icon' and 'android:title' in menu.xml. But Anything is not displayed. To be exact, I could only see text. and I used…
ybybyb
  • 1,385
  • 1
  • 12
  • 33