Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
139 views

I want to Change the background color of PopupMenu in my android app, I am using "Theme.MaterialComponents.Light.NoActionBar"

I want to customize PopupMenu, background color as Light Black color and text color as white. I am using "Theme.MaterialComponents.Light.NoActionBar" as parent. I tried to customize but ...
codophile's user avatar
1 vote
1 answer
688 views

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 ...
Muhammad Yousuf's user avatar
1 vote
0 answers
126 views

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 ...
user18646323's user avatar
1 vote
0 answers
141 views

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 ...
indiebloog's user avatar
1 vote
2 answers
2k views

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 ...
Roshana Pitigala's user avatar
1 vote
1 answer
181 views

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 ...
SPenAficionado's user avatar
0 votes
1 answer
394 views

Android - How to make a menu item disabled but remove the default grey text colour?

My menu file menu_main.xml, the "Create" item is just a title, so it should be disabled. <menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="...
Kishy Nivas's user avatar
2 votes
3 answers
875 views

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: <menu xmlns:android=...
shko's user avatar
  • 94
1 vote
1 answer
270 views

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: <RelativeLayout android:id="@+id/main_topBar" android:...
Ali.M's user avatar
  • 311
1 vote
3 answers
729 views

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 ...
Shadow's user avatar
  • 6,889
1 vote
2 answers
1k views

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's user avatar
  • 1,719
0 votes
2 answers
2k views

Is there any way to add icon in overflow menu item?

I'm using overflow menu in basic Navigation Drawer. And I want to display icon and text at menu item. But whatever I do doesn't work. These are the ways I tried in menu.xml code. First, It's an ...
ybybyb's user avatar
  • 1,719
1 vote
1 answer
594 views

(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, ...
ybybyb's user avatar
  • 1,719
1 vote
0 answers
233 views

Toolbar Menu text Alignment

I have already made my custom Style for Toolbar Overflow Menu. <style name="custompopupOverflowMenu" parent="@style/Widget.MaterialComponents.PopupMenu.Overflow"> &...
Hadi's user avatar
  • 124
0 votes
1 answer
976 views

problem to set Android toolbar overFlow menu style (rounded corner with stroke line)

what I am trying to do is to get a simple menu with rounded corner and stroke line like this: but what i am getting is this: first I made a shape whit ripple in drawable (drop_down_back_0.xml): <...
Hadi's user avatar
  • 124
1 vote
0 answers
140 views

Set text color to top bar right buttons in overflow menu using react-native-navigation

I am trying to add right menus to the top bar in the form of overflow menu by setting the flag "showAsAction" to "never". The buttons are seen as expected in a popup, but in black text color. I need ...
AndroidGuy's user avatar
  • 1,330
1 vote
3 answers
2k views

Opening bottom sheet when clicked on the overflow menu on a fragment

I am trying to implement behavior of opening bottom sheet when clicked on overflow menu. ex: expected behavior I may do this on an activity using onMenuOpened as suggested here, But I want to do this ...
kaushalyap's user avatar
  • 13.6k
0 votes
0 answers
416 views

How to style arrow in ToolBar's overflow menu in JavaFx

The JavaFx ToolBar component has a built in feature, its overflow menu. Basically it is an arrow which shows on a pane the hidden toolbar elements which had not enough space on the bar. My problem is ...
Five's user avatar
  • 388
1 vote
1 answer
110 views

Cant get the Icons to show on overflow menu in android app

No matter what I do the overflow menu in android refuses to show the menu icons, it shows the titles but not the icons, it will show only one icon on the action bar itself if I put the item in an ...
אריאל עדן's user avatar
-1 votes
2 answers
1k views

How do I add 3 dot overflow menu on custom action bar for Oreo? [duplicate]

I want to add overflow menu on my custom action bar. I know, I can add new settings activity but that's too confusing, and I wanted to know the exact code to add those. I have seen few posts, but it ...
prasad_21's user avatar
  • 107
-1 votes
1 answer
36 views

Android Navigation overflow menu item overlapping fargments

I have been learning android navigation components from codelab, after following through steps, at step 8 I came across to a weird bug. Steps to reproduce: Enter application. From the overflow menu ...
locustbot's user avatar
1 vote
2 answers
123 views

How to build a fast-reacting overflow dropdown menu?

Anroid's default overflow menu dose not respond to quik click correctly. When I double click on the drop down menu, I want to open the menu, and then click on the first item inside it. But the default ...
KnIfER's user avatar
  • 750
0 votes
2 answers
541 views

How to hold the overflow menu after I click it?

I have added some checkboxs in my overflow menu. I want my overflow menu to hold rather than disappear once I click the checkbox in the overflow menu. How can I do that? Thanks for help. This is my ...
Indigen Shuo's user avatar
-2 votes
1 answer
759 views

How to make the overflow button (the three dots) open settings right away?

I do not want to show a menu for only Settings and About, that's why i want the overflow button to open (immediately when clicked) a unified Settings-About page, the same way Instagram does. At first ...
Leon Vitanos's user avatar
1 vote
1 answer
357 views

How to set Overflow Menu position in Xamarin.Forms?

I'm working on Xamarin.Forms project and my Overflow Menu is covering the Toolbar control when it is opened on Android device. Usually I'm able to solve it by seting overlapAnchor in ...
mrisek's user avatar
  • 659
0 votes
1 answer
51 views

Unable to Hide Android Overflow Menu When Certain Fragments Are Displayed

What I Have Achieved I am working on an Android application that uses a navigation drawer, attached to my MainActivity, to display certain layouts upon the user's selection of a navigation item. I ...
Luke Blevins's user avatar
1 vote
1 answer
281 views

How to select a checkbox in an overflow menu with Espresso?

I'm writing tests for a UI with an overflow menu with checkboxes, as per the image below. I want to check the state of each checkbox, and toggle them, but I'm having trouble finding a way of matching ...
Clyde's user avatar
  • 7,529
0 votes
3 answers
362 views

Overflow Menu doesn't show

I have a problem with my app...the overflow menu is invisible! I can physically tap on the top-right part of my phone and the menu items show, but the three dots do not show. Here is my xml: <...
Sachin Rammoorthy's user avatar
2 votes
1 answer
70 views

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, ...
blackHawk's user avatar
  • 6,297
1 vote
1 answer
111 views

Change the color of OverFlow Menu

This is my Starting Activity. It is working fine programmatically. The only problem which I'm facing is that the OverFlow-Menu comes is dark theme when called by the Hardware Menu key. I've provided ...
DRAXLER's user avatar
  • 13
0 votes
1 answer
340 views

actionOverflowButtonStyle and distance of menu from edge

The three dot overflow menu icon is so close to the edge of the screen that it is difficult to touch. I see that the style of the overflow button can be changed (via actionOverflowButtonStyle), but I ...
Casey Perkins's user avatar
0 votes
0 answers
30 views

When using the default Navigation Drawer Activity, setting menu item fails on click [duplicate]

When I press the settings button in the default Android Studio Navigation Drawer Activity the application will fail. Error code: 05-13 14:30:39.095 25705-25705/com.maxchehab.test1 E/AndroidRuntime: ...
user avatar
1 vote
2 answers
1k views

Show divider line in between menu items of native menu

I want to edit horizontal line between menu titles , i refer many solutions but not any of them able to find my solution.Please help me to find solution for this <menu xmlns:android="http://...
Sudhansu's user avatar
  • 860
0 votes
0 answers
593 views

Divider lines in overflow menu

Is it possible to put divider lines between groups of menu items in an overflow menu in Android? Dividers are a standard feature of menus, and have been for at least 30 years. So it seems a bit weird ...
Magnus's user avatar
  • 18.6k
0 votes
3 answers
79 views

Nullpointer when using database from dialogfrag from an overflow menu

The dialog frag is being called in the onOptionsItemSelected method. From there, both the date picker and the clear history fragments seem to get null pointers when an sql db is called. Main ...
Charlotte A.Wilson's user avatar
0 votes
2 answers
5k views

How to Display Badges with Menu Items that are displayed in the overflow menu

I am Working on Android Menu Items. I can able to add Badges with the Items that are displayed in the Action Bar .But i want to show the same Badges with the Overflow Menu Items. Is there any ...
RAJESH KUMAR ARUMUGAM's user avatar
2 votes
1 answer
1k views

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 ...
Wasabi5000's user avatar
3 votes
0 answers
292 views

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 ...
user35603's user avatar
  • 785
1 vote
3 answers
622 views

Change the overflow icon to a new image

I have an issue with the overflow menu. I need to replace the 3 dots with my image. I tried out several ways but its not working. In my styles.xml, I have added the following code: <style name="...
Anju's user avatar
  • 9,469
2 votes
1 answer
221 views

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 ...
Hannah's user avatar
  • 67
3 votes
1 answer
9k views

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 ...
Vladimir Arevshatyan's user avatar
1 vote
1 answer
103 views

Search command don't work in conjunction with overflow menu in Codenameone

The action from Search Command doesn't work, but the action from Overflow Menu still work. This is my code getToolbar().addSearchCommand(e -> { String text = (String) e.getSource(); ...
ernando oliveira's user avatar
0 votes
3 answers
2k views

How to add images to overflow menu in Android studio? [duplicate]

I am developing the overflow menu for latest android version as i am doing this,the text items are being added to the overflow menu but item images are not adding. so please help me to know how to add ...
NarasimhaKolla's user avatar
1 vote
2 answers
3k views

cardview overflow menu in fragment

i have achieved cardview overflow menu in cardviewactivity but dont know how do i use the same in fragment i have tab views and tab fragments, now each fragment is accessing cardview-list view-...
piyush_droid's user avatar
0 votes
1 answer
91 views

transparent padding in overflow menu in Jellybean

Im having a problem with the overflow menu in my device running API 16 Jellybean. As you can see in the photo below it is rendered with transparent padding. I run the default Blank Activity of Android ...
rica_elgort's user avatar
3 votes
2 answers
2k views

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 ...
Micah Simmons's user avatar
0 votes
0 answers
76 views

Android Studio adds overflow menu in new project but not afterwards

I am using Android Studio 1.5.1. When I create a project with a blank activity for the first time, I see the overflow menu icon in the toolbar when I run the app on my phone. However, when I add a ...
Plex752's user avatar
  • 13
0 votes
2 answers
1k views

Customizing Overflow menu on a RecyclerView in android

I am following a project similar to this: http://www.javatpoint.com/android-popup-menu-example I have created overflow menu on each item in my recyclerView. The menu is coming up properly. I have ...
Sanjana Nair's user avatar
  • 2,775
2 votes
2 answers
2k views

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. <menu xmlns:android="...
mco's user avatar
  • 1,839
0 votes
1 answer
129 views

Overflow menu in footer in android

I have created an Option menu and footer with 4 icons on it. I would like the overflow menu icon (Three dots icon) to be shown on the footer instead of top right? Is this possible? If I put a over ...
Sanjana Nair's user avatar
  • 2,775