次の方法で共有


TextView.SetImeActionLabel Method

Definition

Overloads

SetImeActionLabel(String, ImeAction)

Change the custom IME action associated with the text view, which will be reported to an IME with EditorInfo#actionLabel and EditorInfo#actionId when it has focus.

SetImeActionLabel(ICharSequence, ImeAction)

Change the custom IME action associated with the text view, which will be reported to an IME with EditorInfo#actionLabel and EditorInfo#actionId when it has focus.

SetImeActionLabel(String, ImeAction)

Change the custom IME action associated with the text view, which will be reported to an IME with EditorInfo#actionLabel and EditorInfo#actionId when it has focus.

public void SetImeActionLabel (string? label, Android.Views.InputMethods.ImeAction actionId);
member this.SetImeActionLabel : string * Android.Views.InputMethods.ImeAction -> unit

Parameters

label
String
actionId
ImeAction

Remarks

Change the custom IME action associated with the text view, which will be reported to an IME with EditorInfo#actionLabel and EditorInfo#actionId when it has focus.

Java documentation for android.widget.TextView.setImeActionLabel(java.lang.CharSequence, 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

SetImeActionLabel(ICharSequence, ImeAction)

Change the custom IME action associated with the text view, which will be reported to an IME with EditorInfo#actionLabel and EditorInfo#actionId when it has focus.

[Android.Runtime.Register("setImeActionLabel", "(Ljava/lang/CharSequence;I)V", "GetSetImeActionLabel_Ljava_lang_CharSequence_IHandler")]
public virtual void SetImeActionLabel (Java.Lang.ICharSequence? label, Android.Views.InputMethods.ImeAction actionId);
[<Android.Runtime.Register("setImeActionLabel", "(Ljava/lang/CharSequence;I)V", "GetSetImeActionLabel_Ljava_lang_CharSequence_IHandler")>]
abstract member SetImeActionLabel : Java.Lang.ICharSequence * Android.Views.InputMethods.ImeAction -> unit
override this.SetImeActionLabel : Java.Lang.ICharSequence * Android.Views.InputMethods.ImeAction -> unit

Parameters

actionId
ImeAction
Attributes

Remarks

Change the custom IME action associated with the text view, which will be reported to an IME with EditorInfo#actionLabel and EditorInfo#actionId when it has focus.

Java documentation for android.widget.TextView.setImeActionLabel(java.lang.CharSequence, 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.

See also

Applies to