LayoutElementBuilders.FontStyles

public class LayoutElementBuilders.FontStyles


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

Summary

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 methods

body1

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

Font style for large body text.

body2

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

Font style for medium body text.

button

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

Font style for button text.

caption1

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

Font style for large caption text.

caption2

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

Font style for medium caption text.

display1

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

Font style for large display text.

display2

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

Font style for medium display text.

display3

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

Font style for small display text.

title1

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

Font style for large title text.

title2

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

Font style for medium title text.

title3

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

Font style for small title text.