Sprache

Resource.Attribute.ShortLabel Field

Definition

The short label of the subtype.

[Android.Runtime.Register("shortLabel", ApiSince=37)]
public const int ShortLabel = 16844468;
[<Android.Runtime.Register("shortLabel", ApiSince=37)>]
val mutable ShortLabel : int

Field Value

Value = 16844468
Attributes

Remarks

The short label of the subtype. This is a non-localized string used to represent the subtype in compact UI elements where the full display name is too long. It may be used in place of an icon in some UI surfaces if a subtype icon is not specified. It is recommended that the short label is visually compact, around the size of two or three Latin letters to avoid visual truncation in limited-space UI surfaces. Examples include an abbreviation, a locale code, a symbol, or an emoji.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Android reference for android.R.attr.shortLabel.

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