DimensionBuilders.SpProp


@RequiresSchemaVersion(major = 1, minor = 0)
public final class DimensionBuilders.SpProp


A type for font sizes, measured in sp.

Summary

Nested types

Builder for SpProp

Public methods

@Dimension(unit = 2) float

Gets the value, in sp.

@NonNull String

Public methods

getValue

Added in 1.0.0
public @Dimension(unit = 2) float getValue()

Gets the value, in sp.

toString

public @NonNull String toString()