public class

LayoutElementBuilders.FontStyles

extends java.lang.Object

 java.lang.Object

↳androidx.wear.tiles.builders.LayoutElementBuilders.FontStyles

Overview

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

Summary

Methods
public LayoutElementBuilders.FontStyle.Builderbody1()

Font style for large body text.

public LayoutElementBuilders.FontStyle.Builderbody2()

Font style for medium body text.

public LayoutElementBuilders.FontStyle.Builderbutton()

Font style for button text.

public LayoutElementBuilders.FontStyle.Buildercaption1()

Font style for large caption text.

public LayoutElementBuilders.FontStyle.Buildercaption2()

Font style for medium caption text.

public LayoutElementBuilders.FontStyle.Builderdisplay1()

Font style for large display text.

public LayoutElementBuilders.FontStyle.Builderdisplay2()

Font style for medium display text.

public LayoutElementBuilders.FontStyle.Builderdisplay3()

Font style for small display text.

public LayoutElementBuilders.FontStyle.Buildertitle1()

Font style for large title text.

public LayoutElementBuilders.FontStyle.Buildertitle2()

Font style for medium title text.

public LayoutElementBuilders.FontStyle.Buildertitle3()

Font style for small title text.

public static LayoutElementBuilders.FontStyleswithDeviceParameters(DeviceParametersReaders.DeviceParameters deviceParameters)

Create a FontStyles instance, using the given device parameters to determine font sizes.

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

Methods

public static LayoutElementBuilders.FontStyles withDeviceParameters(DeviceParametersReaders.DeviceParameters deviceParameters)

Create a FontStyles instance, using the given device parameters to determine font sizes.

Font style for large display text.

Font style for medium display text.

Font style for small display text.

Font style for large title text.

Font style for medium title text.

Font style for small title text.

Font style for large body text.

Font style for medium body text.

Font style for button text.

Font style for large caption text.

Font style for medium caption text.