atMost

fun atMost(px: Int): Int

Shorthand for creating a View.MeasureSpec.AT_MOST measure spec.