Added in API level 33
Width
class Width
| kotlin.Any | ||
| ↳ | kotlin.Enum<android.icu.text.ListFormatter.Width> | |
| ↳ | android.icu.text.ListFormatter.Width | |
Verbosity level of the list patterns.
Summary
| Enum values | |
|---|---|
|
Use list formatting of the shortest possible length. |
|
|
Use list formatting of typical length. |
|
|
Use list formatting with full words (no abbreviations) when possible. |
|
Enum values
NARROW
Added in API level 33
enum val NARROW : ListFormatter.Width
Use list formatting of the shortest possible length.
SHORT
Added in API level 33
enum val SHORT : ListFormatter.Width
Use list formatting of typical length.
WIDE
Added in API level 33
enum val WIDE : ListFormatter.Width
Use list formatting with full words (no abbreviations) when possible.