0

I have to show a popup like this above a button

enter image description here

How I can show it? I have been looking into it but still unable to find any way to implement it

Zohab Ali
  • 8,426
  • 4
  • 55
  • 63

1 Answers1

1
  1. Computes the coordinates of button on the screen.
  2. Create custom layout above using PopupWindow
popupWindow.showAtLocation(button, Gravity.CENTER, 0, 0);

You can refer the answer here

Hades
  • 36
  • 1
  • 3