Is it possible to have a button in Android open a floating context menu and if so, how? I'm not sure how to implement the floating context menu, let alone link it to a button so I mainly want to know if it's possible. But if it is, then how would be nice. :-)
Asked
Active
Viewed 441 times
1 Answers
3
Use Dialog instead on long press event. For example like when you longpress on android device home screen.

Dmytro Zarezenko
- 10,526
- 11
- 62
- 104
-
Hadn't considered this oddly, thank you - will look into it. Can I still use it on a button? – Tim Aug 23 '12 at 11:02
-
Yes you can call Dialog on Button press event. – Dmytro Zarezenko Aug 23 '12 at 11:03
-
And can I have each option in the menu open a new "page"? I'll select as best answer when the option becomes available. :-) – Tim Aug 23 '12 at 11:04
-
Yes, you can call different Activities on Dialog option click event. – Dmytro Zarezenko Aug 23 '12 at 11:05