InputMethodSubtype.GetLayoutDisplayName(Context, ApplicationInfo) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.
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.