Android: Create a Quick Action Menu

二次信任 提交于 2019-11-29 11:54:05

As tyczj said, you could achieve that with a PopupMenu. The idea is that the popup menu will inflate a custom view with all the elements, having as background a 9 patch image.
Here's a blog post that shows how to do that. Hope it will help you.

Mukesh Garg

You can do the same using Quick Action Menu, for more details you can follow the

"http://www.codeproject.com/Articles/521455/Quick-action-pattern-in-Android-and-simple-impleme" Link.

In example Items are presented in horizontal manner, whereas you can manage them, like listview as per your requirement.

there is a PopupMenu but there is no arrow or anything pointing to where it came from. Its basically the same thing that comes up when clicking the Overflow actionbar item

Maybe this link can help you ;) But instead of sliding use press button.

Making a slide menu

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