Skip to content Skip to sidebar Skip to footer

How To Get Popup Menu From Bottom Of Screen?

I'm going on with my contacts list for that I need a popup menu should appear to get contacts I got the popup menu and options with the help of below code: PopupMenu popup = new P

Solution 1:

If i understand you cannot use a PopupMenu for this purpose.

As docs say:

A PopupMenu displays a Menu in a modal popup window anchored to a View. The popup will appear below the anchor view if there is room, or above it if there is not. If the IME is visible the popup will not overlap it until it is touched. Touching outside of the popup will dismiss it.

You may want to try to use PopupWindow perhaps, which allows such positioning.


Post a Comment for "How To Get Popup Menu From Bottom Of Screen?"