共用方式為


SearchView.SetImeOptions(ImeAction) Method

Definition

Sets the IME options on the query text field.

[Android.Runtime.Register("setImeOptions", "(I)V", "GetSetImeOptions_IHandler")]
public virtual void SetImeOptions (Android.Views.InputMethods.ImeAction imeOptions);
[<Android.Runtime.Register("setImeOptions", "(I)V", "GetSetImeOptions_IHandler")>]
abstract member SetImeOptions : Android.Views.InputMethods.ImeAction -> unit
override this.SetImeOptions : Android.Views.InputMethods.ImeAction -> unit

Parameters

imeOptions
ImeAction

the options to set on the query text field

Attributes

Remarks

Sets the IME options on the query text field.

Java documentation for android.widget.SearchView.setImeOptions(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