开发者

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.

How to create a custom PopUp Menu

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜