Share via


InputMethodSubtype.GetLayoutDisplayName(Context, ApplicationInfo) Method

Definition

Returns the layout display name.

public string GetLayoutDisplayName(Android.Content.Context context, Android.Content.PM.ApplicationInfo imeAppInfo);
member this.GetLayoutDisplayName : Android.Content.Context * Android.Content.PM.ApplicationInfo -> string

Parameters

context
Context

The context used for getting the android.content.pm.PackageManager PackageManager.

imeAppInfo
ApplicationInfo

The ApplicationInfo of the input method.

Returns

the layout display name.

Remarks

Returns the layout display name.

If layoutLabelResource is non-zero (specified through InputMethodSubtypeBuilder#setLayoutLabelResource setLayoutLabelResource), the text generated from that resource will be returned. The localized string resource of the label should be capitalized for inclusion in UI lists.

If layoutLabelResource is zero, the framework returns the non-localized layout label, if specified through InputMethodSubtypeBuilder#setLayoutLabelNonLocalized setLayoutLabelNonLocalized.

Java documentation for android.view.inputmethod.InputMethodSubtype.getLayoutDisplayName(android.content.Context, android.content.pm.ApplicationInfo).

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