How to create a custom PopUp Menu
I would like to create a custom PopUp menu in Android like the one in the attached screenshot. Any pointers would be appreciated.
On click of the button "Choose Name" , y开发者_运维技巧ou see a PopUp menu just below the button.
Thaknks.You should take a look at building custom dialogs. In Android, a Dialog
is typically in the form of a popup window. You can also do this with an Activity and apply the Dialog theme to it (mentioned in this link).
Sana,
You will probably want to look into creating a custom Dialog
for your application: http://developer.android.com/guide/topics/ui/dialogs.html#CustomDialog
精彩评论