ConstraintStrength

The strength of a constraint, expressed as a symbolic constant.

The strength of a class@Constraint can be expressed with any positive integer; the values of this enumeration can be used for readability.

Entries

Link copied to clipboard

The constraint is required towards solving the layout

Link copied to clipboard

A strong constraint

Link copied to clipboard

A medium constraint

Link copied to clipboard

A weak constraint

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val nativeValue: <Error class: unknown class>
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.