Reputation: 275
I wanna make a custom menu that appears when user touches a button. here is an image of what i want to do exactly.
If anyone can point me in the direction on how to do this i would greatly appreciate it. I want them to be able to click on it and then it input a specific text. Thank you for any help you can give me
Upvotes: 2
Views: 2753
Reputation: 76526
You can use a Sliding Drawer:
http://developer.android.com/reference/android/widget/SlidingDrawer.html
Or the new 'Ribbon Menu' this has other names as well, it's the menu off the new YubTube app or the Facebook app.
https://github.com/darvds/RibbonMenu
Upvotes: 1
Reputation: 8004
You have several options here: You can create a dialog activity with a translucent background and lay it out however you'd like. Then you can just call startActivityForResult() on it.
Here's an example:
Upvotes: 0