ConstraintDslContext
Block within which constraints can be defined and captured.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Provides the Expression's value, but does not treat its contents as variables when used in a Constraint. This means the Expression's variables won't be altered to try and satisfy the constraint.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun ConstraintDslContext.withSizeInsets(width: Double = 0.0, height: Double = 0.0, block: ConstraintDslContext.() -> Unit)
fun ConstraintDslContext.withSizeInsets(width: () -> Double = { 0.0 }, height: () -> Double = { 0.0 }, block: ConstraintDslContext.() -> Unit)