interface Dimension.Coercible : Dimension


A Dimension that can be assigned both min and max bounds.

Summary

Extension functions

Dimension.MaxCoercible

Sets the lower bound of the current Dimension to a fixed dp value.

Dimension.MinCoercible

Sets the upper bound of the current Dimension to a fixed dp value.

Extension properties

Dimension.MaxCoercible

Sets the lower bound of the current Dimension to be the wrap content size of the child.

Dimension.MinCoercible

Sets the upper bound of the current Dimension to be the wrap content size of the child.

Extension functions

fun Dimension.Coercible.atLeast(dp: Dp): Dimension.MaxCoercible

Sets the lower bound of the current Dimension to a fixed dp value.

fun Dimension.Coercible.atMost(dp: Dp): Dimension.MinCoercible

Sets the upper bound of the current Dimension to a fixed dp value.

Extension properties

val Dimension.Coercible.atLeastWrapContentDimension.MaxCoercible

Sets the lower bound of the current Dimension to be the wrap content size of the child.

val Dimension.Coercible.atMostWrapContentDimension.MinCoercible

Sets the upper bound of the current Dimension to be the wrap content size of the child.