語言

TextView.SetImeActionLabel 方法

定義

多載

名稱 Description
SetImeActionLabel(ICharSequence, ImeAction)

變更與文字檢視相關聯的自定義 IME 動作,該動作會回報給具有 焦點的 IME EditorInfo#actionLabel ,以及 EditorInfo#actionId 當其具有焦點時。

SetImeActionLabel(String, ImeAction)

變更與文字檢視相關聯的自定義 IME 動作,該動作會回報給具有 焦點的 IME EditorInfo#actionLabel ,以及 EditorInfo#actionId 當其具有焦點時。

SetImeActionLabel(ICharSequence, ImeAction)

變更與文字檢視相關聯的自定義 IME 動作,該動作會回報給具有 焦點的 IME EditorInfo#actionLabel ,以及 EditorInfo#actionId 當其具有焦點時。

[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

參數

label
ICharSequence

角色序列

actionId
ImeAction

int

屬性

備註

變更與文字檢視相關聯的自定義 IME 動作,該動作會回報給具有 焦點的 IME EditorInfo#actionLabel ,以及 EditorInfo#actionId 當其具有焦點時。

Java 文件 android.widget.TextView.setImeActionLabel(java.lang.CharSequence, int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

另請參閱

適用於

SetImeActionLabel(String, ImeAction)

變更與文字檢視相關聯的自定義 IME 動作,該動作會回報給具有 焦點的 IME EditorInfo#actionLabel ,以及 EditorInfo#actionId 當其具有焦點時。

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

參數

label
String

角色序列

actionId
ImeAction

int

備註

變更與文字檢視相關聯的自定義 IME 動作,該動作會回報給具有 焦點的 IME EditorInfo#actionLabel ,以及 EditorInfo#actionId 當其具有焦點時。

Java 文件 android.widget.TextView.setImeActionLabel(java.lang.CharSequence, int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於