updateMaxWidth

fun View.updateMaxWidth(applyCustomWidth: Boolean)

Updates the maximum width of a view within a MotionLayout.

Parameters

applyCustomWidth

Whether to apply a custom width based on screen size.