LayoutElementBuilders.FontStyles

public class LayoutElementBuilders.FontStyles


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

Summary

Public constructors

Public methods

static @NonNull LayoutElementBuilders.FontStyle.Builder

Font style for large body text.

static @NonNull LayoutElementBuilders.FontStyle.Builder

Font style for medium body text.

static @NonNull LayoutElementBuilders.FontStyle.Builder

Font style for button text.

static @NonNull LayoutElementBuilders.FontStyle.Builder

Font style for large caption text.

static @NonNull LayoutElementBuilders.FontStyle.Builder

Font style for medium caption text.

static @NonNull LayoutElementBuilders.FontStyle.Builder

Font style for large display text.

static @NonNull LayoutElementBuilders.FontStyle.Builder

Font style for medium display text.

static @NonNull LayoutElementBuilders.FontStyle.Builder

Font style for small display text.

static @NonNull LayoutElementBuilders.FontStyle.Builder

Font style for large title text.

static @NonNull LayoutElementBuilders.FontStyle.Builder

Font style for medium title text.

static @NonNull LayoutElementBuilders.FontStyle.Builder

Font style for small title text.

Public constructors

FontStyles

public final FontStyles()

Public methods

body1

public static @NonNull LayoutElementBuilders.FontStyle.Builder body1(
    @NonNull DeviceParametersBuilders.DeviceParameters deviceParameters
)

Font style for large body text.

body2

public static @NonNull LayoutElementBuilders.FontStyle.Builder body2(
    @NonNull DeviceParametersBuilders.DeviceParameters deviceParameters
)

Font style for medium body text.

button

public static @NonNull LayoutElementBuilders.FontStyle.Builder button(
    @NonNull DeviceParametersBuilders.DeviceParameters deviceParameters
)

Font style for button text.

caption1

public static @NonNull LayoutElementBuilders.FontStyle.Builder caption1(
    @NonNull DeviceParametersBuilders.DeviceParameters deviceParameters
)

Font style for large caption text.

caption2

public static @NonNull LayoutElementBuilders.FontStyle.Builder caption2(
    @NonNull DeviceParametersBuilders.DeviceParameters deviceParameters
)

Font style for medium caption text.

display1

public static @NonNull LayoutElementBuilders.FontStyle.Builder display1(
    @NonNull DeviceParametersBuilders.DeviceParameters deviceParameters
)

Font style for large display text.

display2

public static @NonNull LayoutElementBuilders.FontStyle.Builder display2(
    @NonNull DeviceParametersBuilders.DeviceParameters deviceParameters
)

Font style for medium display text.

display3

public static @NonNull LayoutElementBuilders.FontStyle.Builder display3(
    @NonNull DeviceParametersBuilders.DeviceParameters deviceParameters
)

Font style for small display text.

title1

public static @NonNull LayoutElementBuilders.FontStyle.Builder title1(
    @NonNull DeviceParametersBuilders.DeviceParameters deviceParameters
)

Font style for large title text.

title2

public static @NonNull LayoutElementBuilders.FontStyle.Builder title2(
    @NonNull DeviceParametersBuilders.DeviceParameters deviceParameters
)

Font style for medium title text.