DimensionBuilders.WrappedDimensionProp


@RequiresSchemaVersion(major = 1, minor = 0)
public final class DimensionBuilders.WrappedDimensionProp implements DimensionBuilders.ContainerDimension


A type for a dimension that sizes itself to the size of its children (i.e. WRAP_CONTENT in Android parlance).

Summary

Nested types

Builder for WrappedDimensionProp.

Public methods

@Nullable DimensionBuilders.DpProp

Gets the minimum size of this dimension.

@NonNull String

Public methods

getMinimumSize

Added in 1.0.0
public @Nullable DimensionBuilders.DpProp getMinimumSize()

Gets the minimum size of this dimension. If not set, then there is no minimum size.

toString

public @NonNull String toString()