Share via


SearchView.SetInputType(InputTypes) Method

Definition

Sets the input type on the query text field.

[Android.Runtime.Register("setInputType", "(I)V", "GetSetInputType_IHandler")]
public virtual void SetInputType (Android.Text.InputTypes inputType);
[<Android.Runtime.Register("setInputType", "(I)V", "GetSetInputType_IHandler")>]
abstract member SetInputType : Android.Text.InputTypes -> unit
override this.SetInputType : Android.Text.InputTypes -> unit

Parameters

inputType
InputTypes

the input type to set on the query text field

Attributes

Remarks

Sets the input type on the query text field.

Java documentation for android.widget.SearchView.setInputType(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also