https://kotlinlang.org logo
#android
Title
# android
n

Nikola Milovic

12/04/2019, 10:05 AM
Good way of doing this (a library or article or any pointer, I use Alert Dialog atm but it's not exactly for this job)

https://cdn.discordapp.com/attachments/647444029147185162/651724985106432020/Screenshot_20191204-1101392.png

(When you long hold on whatsapp this popsup)
google 1
w

wasyl

12/04/2019, 10:10 AM
There’s a
PopupMenu
widget that you can attach to a specific view, would that help?
n

Nikola Milovic

12/04/2019, 10:16 AM
I'll check it out, thanks!
r

r4phab

12/04/2019, 10:16 AM
Or maybe the
PopupWindow
?
w

wasyl

12/04/2019, 10:21 AM
Right, I think
PopupMenu
uses
PopupWindow
internally
r

r4phab

12/04/2019, 10:27 AM
I might and it depends on what kind of ui you need I suppose
2 Views