LayoutElementBuilders.FontStyles


class LayoutElementBuilders.FontStyles


Font styles, currently set up to match Wear's font styling.

Summary

Public functions

java-static LayoutElementBuilders.FontStyle.Builder

This function is deprecated.

Use TYPOGRAPHY_BODY1 on Material androidx.wear.protolayout.material.Text.

java-static LayoutElementBuilders.FontStyle.Builder

This function is deprecated.

Use TYPOGRAPHY_BODY2 on Material androidx.wear.protolayout.material.Text.

java-static LayoutElementBuilders.FontStyle.Builder

This function is deprecated.

Use TYPOGRAPHY_BUTTON on Material androidx.wear.protolayout.material.Text.

java-static LayoutElementBuilders.FontStyle.Builder

This function is deprecated.

Use TYPOGRAPHY_CAPTION1 on Material androidx.wear.protolayout.material.Text.

java-static LayoutElementBuilders.FontStyle.Builder

This function is deprecated.

Use TYPOGRAPHY_CAPTION2 on Material androidx.wear.protolayout.material.Text.

java-static LayoutElementBuilders.FontStyle.Builder

This function is deprecated.

Use TYPOGRAPHY_DISPLAY1 on Material androidx.wear.protolayout.material.Text.

java-static LayoutElementBuilders.FontStyle.Builder

This function is deprecated.

Use TYPOGRAPHY_DISPLAY2 on Material androidx.wear.protolayout.material.Text.

java-static LayoutElementBuilders.FontStyle.Builder

This function is deprecated.

Use TYPOGRAPHY_DISPLAY3 on Material androidx.wear.protolayout.material.Text.

java-static LayoutElementBuilders.FontStyle.Builder

This function is deprecated.

Use TYPOGRAPHY_TITLE1 on Material androidx.wear.protolayout.material.Text.

java-static LayoutElementBuilders.FontStyle.Builder

This function is deprecated.

Use TYPOGRAPHY_TITLE2 on Material androidx.wear.protolayout.material.Text.

java-static LayoutElementBuilders.FontStyle.Builder

This function is deprecated.

Use TYPOGRAPHY_TITLE3 on Material androidx.wear.protolayout.material.Text.

Public functions

body1

Added in 1.0.0
Deprecated in 1.0.0
java-static fun body1(deviceParameters: DeviceParametersBuilders.DeviceParameters): LayoutElementBuilders.FontStyle.Builder

Font style for large body text.

body2

Added in 1.0.0
Deprecated in 1.0.0
java-static fun body2(deviceParameters: DeviceParametersBuilders.DeviceParameters): LayoutElementBuilders.FontStyle.Builder

Font style for medium body text.

button

Added in 1.0.0
Deprecated in 1.0.0
java-static fun button(deviceParameters: DeviceParametersBuilders.DeviceParameters): LayoutElementBuilders.FontStyle.Builder

Font style for button text.

caption1

Added in 1.0.0
Deprecated in 1.0.0
java-static fun caption1(deviceParameters: DeviceParametersBuilders.DeviceParameters): LayoutElementBuilders.FontStyle.Builder

Font style for large caption text.

caption2

Added in 1.0.0
Deprecated in 1.0.0
java-static fun caption2(deviceParameters: DeviceParametersBuilders.DeviceParameters): LayoutElementBuilders.FontStyle.Builder

Font style for medium caption text.

display1

Added in 1.0.0
Deprecated in 1.0.0
java-static fun display1(deviceParameters: DeviceParametersBuilders.DeviceParameters): LayoutElementBuilders.FontStyle.Builder

Font style for large display text.

display2

Added in 1.0.0
Deprecated in 1.0.0
java-static fun display2(deviceParameters: DeviceParametersBuilders.DeviceParameters): LayoutElementBuilders.FontStyle.Builder

Font style for medium display text.

display3

Added in 1.0.0
Deprecated in 1.0.0
java-static fun display3(deviceParameters: DeviceParametersBuilders.DeviceParameters): LayoutElementBuilders.FontStyle.Builder

Font style for small display text.

title1

Added in 1.0.0
Deprecated in 1.0.0
java-static fun title1(deviceParameters: DeviceParametersBuilders.DeviceParameters): LayoutElementBuilders.FontStyle.Builder

Font style for large title text.

title2

Added in 1.0.0
Deprecated in 1.0.0
java-static fun title2(deviceParameters: DeviceParametersBuilders.DeviceParameters): LayoutElementBuilders.FontStyle.Builder

Font style for medium title text.

title3

Added in 1.0.0
Deprecated in 1.0.0
java-static fun title3(deviceParameters: DeviceParametersBuilders.DeviceParameters): LayoutElementBuilders.FontStyle.Builder

Font style for small title text.