DimensionBuilders.ImageDimension


@RequiresSchemaVersion(major = 1, minor = 0)
interface DimensionBuilders.ImageDimension

Known direct subclasses
DimensionBuilders.DpProp

A type for linear dimensions, measured in dp.

DimensionBuilders.ExpandedDimensionProp

A type for a dimension that fills all the space it can (i.e. MATCH_PARENT in Android parlance).

DimensionBuilders.ProportionalDimensionProp

A type for a dimension that scales itself proportionally to another dimension such that the aspect ratio defined by the given width and height values is preserved.


Interface defining a dimension that can be applied to an image.