interface Dimension.MaxCoercible : Dimension


A Dimension that can be assigned a max bound.

Summary

Extension functions

Dimension

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

Extension properties

Dimension

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

Extension functions

fun Dimension.MaxCoercible.atMost(dp: Dp): Dimension

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

Extension properties

val Dimension.MaxCoercible.atMostWrapContentDimension

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