public final class

LayoutElementBuilders.FontStyles

extends java.lang.Object

 java.lang.Object

↳androidx.wear.protolayout.LayoutElementBuilders.FontStyles

Overview

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

Summary

Methods
public static LayoutElementBuilders.FontStyle.Builderbody1(DeviceParametersBuilders.DeviceParameters deviceParameters)

Font style for large body text.

public static LayoutElementBuilders.FontStyle.Builderbody2(DeviceParametersBuilders.DeviceParameters deviceParameters)

Font style for medium body text.

public static LayoutElementBuilders.FontStyle.Builderbutton(DeviceParametersBuilders.DeviceParameters deviceParameters)

Font style for button text.

public static LayoutElementBuilders.FontStyle.Buildercaption1(DeviceParametersBuilders.DeviceParameters deviceParameters)

Font style for large caption text.

public static LayoutElementBuilders.FontStyle.Buildercaption2(DeviceParametersBuilders.DeviceParameters deviceParameters)

Font style for medium caption text.

public static LayoutElementBuilders.FontStyle.Builderdisplay1(DeviceParametersBuilders.DeviceParameters deviceParameters)

Font style for large display text.

public static LayoutElementBuilders.FontStyle.Builderdisplay2(DeviceParametersBuilders.DeviceParameters deviceParameters)

Font style for medium display text.

public static LayoutElementBuilders.FontStyle.Builderdisplay3(DeviceParametersBuilders.DeviceParameters deviceParameters)

Font style for small display text.

public static LayoutElementBuilders.FontStyle.Buildertitle1(DeviceParametersBuilders.DeviceParameters deviceParameters)

Font style for large title text.

public static LayoutElementBuilders.FontStyle.Buildertitle2(DeviceParametersBuilders.DeviceParameters deviceParameters)

Font style for medium title text.

public static LayoutElementBuilders.FontStyle.Buildertitle3(DeviceParametersBuilders.DeviceParameters deviceParameters)

Font style for small title text.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods

Deprecated: Use Typography.TYPOGRAPHY_DISPLAY1 on Material Text.

Font style for large display text.

Deprecated: Use Typography.TYPOGRAPHY_DISPLAY2 on Material Text.

Font style for medium display text.

Deprecated: Use Typography.TYPOGRAPHY_DISPLAY3 on Material Text.

Font style for small display text.

Deprecated: Use Typography.TYPOGRAPHY_TITLE1 on Material Text.

Font style for large title text.

Deprecated: Use Typography.TYPOGRAPHY_TITLE2 on Material Text.

Font style for medium title text.

Deprecated: Use Typography.TYPOGRAPHY_TITLE3 on Material Text.

Font style for small title text.

Deprecated: Use Typography.TYPOGRAPHY_BODY1 on Material Text.

Font style for large body text.

Deprecated: Use Typography.TYPOGRAPHY_BODY2 on Material Text.

Font style for medium body text.

Deprecated: Use Typography.TYPOGRAPHY_BUTTON on Material Text.

Font style for button text.

Deprecated: Use Typography.TYPOGRAPHY_CAPTION1 on Material Text.

Font style for large caption text.

Deprecated: Use Typography.TYPOGRAPHY_CAPTION2 on Material Text.

Font style for medium caption text.