DimensionBuilders.SpProp

public final class DimensionBuilders.SpProp


A type for font sizes, measured in sp.

Summary

Nested types

DimensionBuilders.SpProp.Builder

Builder for SpProp

Public constructors

Public methods

@Dimension(unit = "") float

Gets the value, in sp.

Public constructors

SpProp

public final SpProp()

Public methods

getValue

public @Dimension(unit = "") float getValue()

Gets the value, in sp. Intended for testing purposes only.