androidquickaction

How to make the app icon on a Search View act as a filter?


Basically, I want to reproduce the following feature:

enter image description here

Clicking on the app icon brings up a QuickActionBar that hosts the different possible search filters.

Does the API support this out of the box or do I have to do it myself?


Solution

  • In the apps I've worked on, we've implemented our own UI for those. It's not built in.

    http://www.londatiga.net/it/how-to-create-quickaction-dialog-in-android/ is a good resource that I've bookmarked on how to do it.

    https://github.com/lorensiuswlt/NewQuickAction is the code.