popupmenu Questions
5
Solved
I looked around and it seems that the problem is present not only for tree widget but also for other widgets. But in my case, I found a solution, although an incomplete one. I am adding actions to ...
Autosome asked 9/1, 2013 at 14:5
3
Solved
I want to customize the popupmenu in android, default popup menu gives more space ,so I'm trying to change the custom layout in popup menu but I cant figure out how.
Note: I want to do this smal...
2
Solved
I am trying to extend the copy/paste menu to open a specific activity in my app.
The problem is, that my app appears in some applications, and in most of them do not.
AndroidManifest.xml:
<manif...
Apophasis asked 8/7, 2022 at 10:54
4
Solved
I have set up an UIButton as the rightBarButtonItem in an UIViewController inside an UINavigationController and associated an iOS13 context menu to it.
Long pressing the button shows the context me...
Phenylalanine asked 1/9, 2019 at 9:31
4
Solved
I create a ListView that has an PopupMenu in each item. I create a menu layout and use it as my PopupMenu. My problem is every time I clicked the ellipses option in the item of my ListView the Popu...
6
Solved
I have an ActionBar with an action item on it. After clicking on the action item, I want to show a popup menu.
I implemented this method, but I want to anchor it to the action item or to the Action...
Torrell asked 6/2, 2013 at 12:54
2
Solved
Text color in pop up menu is not changing even changed in styles.
Background color is changing with respect to the color in styles.xml but the text color and text size are not reflecting.
//Creati...
4
Solved
Is there any way I could create custom pop up with rounded borders?
This is my current code and design:
child: Container(
child: PopupMenuButton(
onSelected: _savedLocationOptionSelected,
item...
Oft asked 17/6, 2019 at 22:24
3
Solved
I am trying to create popup menu similarly like this on click on a button view in Android using Koltin. I searched for SOF and Google didn't find any suggestions. Can anyone provide a sample code t...
5
I am using the default pop menu and expecting the behavior of the same. Everything is working fine. What my concern is regarding the rendering of pop up menu. My pop up menu sticks to the right of ...
1
I am using the PopupMenu from the androidx.appcompat.widget package (See the pic).
Just curious if there is any simple way to set a header to the popup. Or change the alpha of the first menu item a...
2
Solved
I've implemented a popup menu to my android application. I've created a xml for popup menu and code also works fine. Now what i cant figure out is how to handle popup menu items click. I've tried u...
Esra asked 25/5, 2015 at 10:36
2
Solved
I have a PopupMenu anchored to a button in the Action Bar, and I'm getting log output about a leaked window.
This occurs if my activity is stopped while the PopupMenu is open.
I posted a related...
Albedo asked 24/10, 2012 at 18:31
3
I have a popup menu that appears when the user clicks an image. The code used is:
PopupMenu popupMenu = new PopupMenu(mContext, mImageView);
popupMenu.setOnMenuItemClickListener(MyClass.this);
pop...
3
I run my app on Tablet, which has both status bar (on top of screen) and navigation bar (on bottom of screen).
I use this code to make Activity Full screen.
public void hideNavigationBar() {
fin...
Symposium asked 2/12, 2016 at 4:20
1
Solved
I'm using showMenu() to dispaly popup menu. Usually when you use PopupMenuButton it has the onSelected option, but you don't seem to have it with showMenu().
I tried wrapping the contents of PopupM...
2
Solved
I've made a pop-up menu with one menu item, I want to enable it only when I do a right click on a tree item of a certain class type otherwise disable it.
How can I achieve this?
Canescent asked 12/7, 2012 at 10:38
1
I have a PopUp Menu that drops down when I click a button. However I feel the items in this menu don't look good with respect to the overall view of my App. I was wondering if I could edit the dime...
3
I want to show a popupmenu when click a button, but this procedure has error in Delphi XE.
procedure ShowPopupMenuEx(var mb1:TMouseButton;var X:integer;var Y:integer;var pPopUP:TPopupMenu);
var
p...
Zabaglione asked 21/10, 2010 at 11:39
1
Solved
I'm currently using this style for my popup menu:
<style name="mainActivityTheme" parent="Theme.MaterialComponents.Light.NoActionBar">
<item name="colorPrimary">@color/colorBlack</...
Tharp asked 13/11, 2019 at 19:59
1
Solved
In Flutter, I'm wanting to style icon buttons with a circular border, and also have the Material ripple effect work correctly so that the ripple effect is contained with the circle. In the followin...
Jiles asked 21/10, 2019 at 10:24
1
NSStatusItem.popUpMenu has been deprecated in macOS 10.14, but I can't find a nice alternative.
let m = statusItem.menu!
statusItem.popUpMenu(m) // deprecated
I tried direct pop-up using menu an...
Es asked 1/10, 2018 at 5:56
1
I am trying to create aPopupMenuButton.I have used the PopupMenuButton class.
PopupMenuButton(
padding: EdgeInsets.only(right: 8.0),
offset: Offset(-16, 0),
child: Container(
decoration: BoxDe...
2
I have a custom adapter for my listview. The adapter contains a textview and a image button. I have implemented a popup menu on clicking the image button. Everything is working fine. But when selec...
4
Solved
I want add PopupMenu to my MenuItem.
Menu.xml
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android...
Fiasco asked 6/9, 2016 at 10:39
1 Next >
© 2022 - 2025 — McMap. All rights reserved.