LayoutElementBuilders.FontStyles

Added in 1.0.0
Deprecated in 1.2.0

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

Added in 1.0.0
Deprecated in 1.2.0
public static @NonNull LayoutElementBuilders.FontStyle.Builder body1(
    @NonNull DeviceParametersBuilders.DeviceParameters deviceParameters
)

Font style for large body text.

body2

Added in 1.0.0
Deprecated in 1.2.0
public static @NonNull LayoutElementBuilders.FontStyle.Builder body2(
    @NonNull DeviceParametersBuilders.DeviceParameters deviceParameters
)

Font style for medium body text.

button

Added in 1.0.0
Deprecated in 1.2.0
public static @NonNull LayoutElementBuilders.FontStyle.Builder button(
    @NonNull DeviceParametersBuilders.DeviceParameters deviceParameters
)

Font style for button text.

caption1

Added in 1.0.0
Deprecated in 1.2.0
public static @NonNull LayoutElementBuilders.FontStyle.Builder caption1(
    @NonNull DeviceParametersBuilders.DeviceParameters deviceParameters
)

Font style for large caption text.

caption2

Added in 1.0.0
Deprecated in 1.2.0
public static @NonNull LayoutElementBuilders.FontStyle.Builder caption2(
    @NonNull DeviceParametersBuilders.DeviceParameters deviceParameters
)

Font style for medium caption text.

display1

Added in 1.0.0
Deprecated in 1.2.0
public static @NonNull LayoutElementBuilders.FontStyle.Builder display1(
    @NonNull DeviceParametersBuilders.DeviceParameters deviceParameters
)

Font style for large display text.

display2

Added in 1.0.0
Deprecated in 1.2.0
public static @NonNull LayoutElementBuilders.FontStyle.Builder display2(
    @NonNull DeviceParametersBuilders.DeviceParameters deviceParameters
)

Font style for medium display text.

display3

Added in 1.0.0
Deprecated in 1.2.0
public static @NonNull LayoutElementBuilders.FontStyle.Builder display3(
    @NonNull DeviceParametersBuilders.DeviceParameters deviceParameters
)

Font style for small display text.

title1

Added in 1.0.0
Deprecated in 1.2.0
public static @NonNull LayoutElementBuilders.FontStyle.Builder title1(
    @NonNull DeviceParametersBuilders.DeviceParameters deviceParameters
)

Font style for large title text.

title2

Added in 1.0.0
Deprecated in 1.2.0
public static @NonNull LayoutElementBuilders.FontStyle.Builder title2(
    @NonNull DeviceParametersBuilders.DeviceParameters deviceParameters
)

Font style for medium title text.

title3

Added in 1.0.0
Deprecated in 1.2.0
public static @NonNull LayoutElementBuilders.FontStyle.Builder title3(
    @NonNull DeviceParametersBuilders.DeviceParameters deviceParameters
)

Font style for small title text.