zawadz88/MaterialPopupMenu

Anchoring the popup left bottom of the button

egek92 opened this issue · 2 comments

Anchoring the popup left bottom of the button

Hi @egek92,
It is possible to offset the popup by a specified amount. Please see the "Custom offsets" in the sample app.
You need to create your own popup style with android:dropDownVerticalOffset and android:dropDownHorizontalOffset provided.

You can change a popup background to any shape you choose. There's an example on how to do that in the sample app where a background with more rounded corners is used.