ConstraintDslContext
class ConstraintDslContext
Block within which constraints can be defined and captured.
Properties
Link copied to clipboard
Link copied to clipboard
Creates a Constraint that keeps the Property's current value. This is equivalent to:
Functions
Inherited functions
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)