Language

LauncherActivityInfo.LabelFormatted Property

Definition

Retrieves the label for the activity.

public virtual Java.Lang.ICharSequence? LabelFormatted { [Android.Runtime.Register("getLabel", "()Ljava/lang/CharSequence;", "GetGetLabelHandler")] get; }
[<get: Android.Runtime.Register("getLabel", "()Ljava/lang/CharSequence;", "GetGetLabelHandler")>]
member this.LabelFormatted : Java.Lang.ICharSequence

Property Value

The label for the activity. If the activity's label is invisible for the user, return the application's label instead. If the application's label is still invisible for the user, return the package name instead.

Attributes

Remarks

Retrieves the label for the activity. If the activity's label is invisible for the user, use the application's label instead. If the application's label is still invisible for the user, use the package name instead.

Java documentation for android.content.pm.LauncherActivityInfo.getLabel().

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