Syntax

Remarks

A widget that provides a user interface for the user to enter a search query and submit a request
to a search provider. Shows a list of query suggestions or results, if available, and allows the
user to pick a suggestion or result to launch into.

Developer Guides

When the SearchView is used in an ActionBar as an action view for a collapsible menu item, it
needs to be set to iconified by default using SearchView.SetIconifiedByDefault(Boolean). This is the default, so nothing needs to be done.

If you want the search field to always be visible, then call setIconifiedByDefault(false).

For information about using SearchView, read the
Search developer guide.