zawadz88 / MaterialPopupMenu

Shows Material popup menus grouped in sections & more
Apache License 2.0
646 stars 57 forks source link

Anchoring the popup left bottom of the button #60

Closed egek92 closed 5 years ago

zawadz88 commented 5 years ago

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.

zawadz88 commented 5 years ago

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.