DimensionBuilders.DpProp

Added in 1.0.0
Deprecated in 1.2.0

public final class DimensionBuilders.DpProp implements DimensionBuilders.ContainerDimension, DimensionBuilders.ImageDimension, DimensionBuilders.SpacerDimension


A type for linear dimensions, measured in dp.

Summary

Public methods

@Dimension(unit = 0) float

Gets the value, in dp.

Public methods

getValue

Added in 1.0.0
Deprecated in 1.2.0
public @Dimension(unit = 0) float getValue()

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