constrainHeight
Source set: Common
public fun Constraints.constrainHeight(height: Int): Int
Takes a height and returns the closest size to it that satisfies the constraints.
Takes a height and returns the closest size to it that satisfies the constraints.
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Robomori
Run Android emulators and devices outside Android Studio.
public fun Constraints.constrainHeight(height: Int): Int
Takes a height and returns the closest size to it that satisfies the constraints.
Content updated: