Udostępnij za pośrednictwem


EditorInfo.ActionLabel Property

Definition

In some cases an IME may be able to display an arbitrary label for a command the user can perform, which you can specify here.

[Android.Runtime.Register("actionLabel")]
public Java.Lang.ICharSequence? ActionLabel { get; set; }
[<Android.Runtime.Register("actionLabel")>]
member this.ActionLabel : Java.Lang.ICharSequence with get, set

Property Value

Attributes

Remarks

In some cases an IME may be able to display an arbitrary label for a command the user can perform, which you can specify here. This is typically used as the label for the action to use in-line as a replacement for the "enter" key (see #actionId). Remember the key where this will be displayed is typically very small, and there are significant localization challenges to make this fit in all supported languages. Also you can not count absolutely on this being used, as some IMEs may ignore this.

Java documentation for android.view.inputmethod.EditorInfo.actionLabel.

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