Android.Widget.SearchView Class
A widget that provides a user interface for the user to enter a search query and submit a request to a search provider.

See Also: SearchView Members

Syntax

[Android.Runtime.Register("android/widget/SearchView", DoNotGenerateAcw=true)]
public class SearchView : LinearLayout, Android.Views.ICollapsibleActionView, IDisposable

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(bool). 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.

See Also

[Android Documentation]

Requirements

Namespace: Android.Widget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11