When an app supports large amounts of information, users expect to be able to quickly locate particular content by searching.
In its most basic form, a search involves:
However, the search experience can be made significantly more gratifying by including some enhancements:
There are two major patterns for in-app search: persistent search and expandable search.
Persistent search is appropriate when search is the primary focus of your app.
The search text field is presented within an inset search box, ready to receive focus.
The user can touch the microphone action to initiate a voice search.
Expandable search is appropriate when search is not the primary focus of your app.
Instead of displaying a search text field, a search action (denoted by the magnifying glass icon) is presented within a toolbar.