Android popup menu

懵懂的女人 提交于 2019-12-03 13:34:42
Aurora

What you are describing is called a 'Quick Action'. This is actually a user interface pattern - there isn't an existing widget or anything in the API for this. They discussed it at Google IO (See in this video here, at the 15:40 mark), and also there has been some discussion on how to implement it on stack overflow, specifically this question. If you start digging around (now that you know the name of what you are looking for) you might find more.

Please find the code OR framework from here :

http://www.londatiga.net/it/how-to-create-quickaction-dialog-in-android/

Mike

The source code for the contacts is open source. You should look around here and see if you can find it.

https://android.googlesource.com/platform/packages/apps/Contacts

I'm looking now if I find it I will edit.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!