Sana
Sana

Reputation: 9915

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" , you see a PopUp menu just below the button.

enter image description here Thaknks.

Upvotes: 1

Views: 16019

Answers (2)

nicholas.hauschild
nicholas.hauschild

Reputation: 42849

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).

Upvotes: 6

Will Tate
Will Tate

Reputation: 33509

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

Upvotes: 3

Related Questions