object Typography


Class holding typography definitions as defined by the Wear Material3 typography specification.

Summary

Constants

const Int

ArcMedium is for arc headers and titles.

const Int

ArcSmall is for limited arc strings of text.

const Int

BodyExtraSmall is the smallest body.

const Int

BodyLarge is the largest body.

const Int

BodyMedium is second largest body.

const Int

BodySmall is third largest body.

const Int

DisplayLarge is the largest headline.

const Int

DisplayMedium is the second largest headline.

const Int

DisplaySmall is the smallest headline.

const Int

LabelLarge is the largest label.

const Int

LabelMedium is the medium label.

const Int

LabelSmall is the small label.

const Int

NumeralsExtraLarge is the largest role for digits.

const Int

NumeralsExtraSmall is the smallest role for digits.

const Int

NumeralsLarge is the second largest role for digits.

const Int

NumeralsMedium is the third largest role for digits.

const Int

NumeralsSmall is the fourth largest role for digits.

const Int

TitleLarge is the largest title.

const Int

TitleMedium is the medium title.

const Int

TitleSmall is the smallest title.

Constants

ARC_MEDIUM

Added in 1.3.0-alpha04
const val ARC_MEDIUM = 0: Int

ArcMedium is for arc headers and titles. Arc is for text along a curved path on the screen, reserved for short header text strings at the very top or bottom of the screen like page titles.

ARC_SMALL

Added in 1.3.0-alpha04
const val ARC_SMALL = 1: Int

ArcSmall is for limited arc strings of text. Arc is for text along a curved path on the screen, reserved for short curved text strings at the bottom of the screen.

BODY_EXTRA_SMALL

Added in 1.3.0-alpha04
const val BODY_EXTRA_SMALL = 2: Int

BodyExtraSmall is the smallest body. Body texts are typically used for long-form writing as it works well for small text sizes. For longer sections of text, a serif or sans serif typeface is recommended.

BODY_LARGE

Added in 1.3.0-alpha04
const val BODY_LARGE = 3: Int

BodyLarge is the largest body. Body texts are typically used for long-form writing as it works well for small text sizes. For longer sections of text, a serif or sans serif typeface is recommended.

BODY_MEDIUM

Added in 1.3.0-alpha04
const val BODY_MEDIUM = 4: Int

BodyMedium is second largest body. Body texts are typically used for long-form writing as it works well for small text sizes. For longer sections of text, a serif or sans serif typeface is recommended.

BODY_SMALL

Added in 1.3.0-alpha04
const val BODY_SMALL = 5: Int

BodySmall is third largest body. Body texts are typically used for long-form writing as it works well for small text sizes. For longer sections of text, a serif or sans serif typeface is recommended.

DISPLAY_LARGE

Added in 1.3.0-alpha04
const val DISPLAY_LARGE = 6: Int

DisplayLarge is the largest headline. Displays are the largest text on the screen, reserved for short, important text.

DISPLAY_MEDIUM

Added in 1.3.0-alpha04
const val DISPLAY_MEDIUM = 7: Int

DisplayMedium is the second largest headline. Displays are the largest text on the screen, reserved for short, important text.

DISPLAY_SMALL

Added in 1.3.0-alpha04
const val DISPLAY_SMALL = 8: Int

DisplaySmall is the smallest headline. Displays are the largest text on the screen, reserved for short, important text.

LABEL_LARGE

Added in 1.3.0-alpha04
const val LABEL_LARGE = 9: Int

LabelLarge is the largest label. They are used for displaying prominent texts like label on title buttons.

LABEL_MEDIUM

Added in 1.3.0-alpha04
const val LABEL_MEDIUM = 10: Int

LabelMedium is the medium label. They are used for displaying texts like primary label on buttons.

LABEL_SMALL

Added in 1.3.0-alpha04
const val LABEL_SMALL = 11: Int

LabelSmall is the small label. They are used for displaying texts like secondary label on buttons, labels on compact buttons.

NUMERAL_EXTRA_LARGE

Added in 1.3.0-alpha04
const val NUMERAL_EXTRA_LARGE = 12: Int

NumeralsExtraLarge is the largest role for digits. Numerals use tabular spacing by default. They highlight and express glanceable numbers that are limited to a two or three characters only, where no localization is required like the charging screen.

NUMERAL_EXTRA_SMALL

Added in 1.3.0-alpha04
const val NUMERAL_EXTRA_SMALL = 13: Int

NumeralsExtraSmall is the smallest role for digits. Numerals use tabular spacing by default. They are for numbers that need to accommodate longer strings of digits, where no localization is required like in-workout metrics.

NUMERAL_LARGE

Added in 1.3.0-alpha04
const val NUMERAL_LARGE = 14: Int

NumeralsLarge is the second largest role for digits. Numerals use tabular spacing by default. They are large sized number strings that are limited to big displays of time, where no localization is required like a timer countdown.

NUMERAL_MEDIUM

Added in 1.3.0-alpha04
const val NUMERAL_MEDIUM = 15: Int

NumeralsMedium is the third largest role for digits. Numerals use tabular spacing by default. They are medium sized numbers that are limited to short strings of digits, where no localization is required like a steps count.

NUMERAL_SMALL

Added in 1.3.0-alpha04
const val NUMERAL_SMALL = 16: Int

NumeralsSmall is the fourth largest role for digits. Numerals use tabular spacing by default. They are for numbers that need emphasis at a smaller scale, where no localization is required like date and time pickers.

TITLE_LARGE

Added in 1.3.0-alpha04
const val TITLE_LARGE = 17: Int

TitleLarge is the largest title. Titles are smaller than Displays. They are typically reserved for medium-emphasis text that is shorter in length.

TITLE_MEDIUM

Added in 1.3.0-alpha04
const val TITLE_MEDIUM = 18: Int

TitleMedium is the medium title. Titles are smaller than Displays. They are typically reserved for medium-emphasis text that is shorter in length.

TITLE_SMALL

Added in 1.3.0-alpha04
const val TITLE_SMALL = 19: Int

TitleSmall is the smallest title. Titles are smaller than Displays. They are typically reserved for medium-emphasis text that is shorter in length.