Rightclick button

Hi! How can I make a button, which reacts on the mouse’s right click and opens a vertical popupmenu?

Try using the
ContextMenu add-on
, should be doable with that.

Thank you for your answer. But actually my question would be more like, that how can I make a button which listens right clicks?

Well, then a LayoutClickListener would be the next choice. Add one to the layout that wraps the Button.

Ok. Thank you. I think this will solve the problem.