class Visibility


The overall visibility of a widget in a ConstraintLayout.

Summary

Public companion properties

Visibility

Like Invisible, but the dimensions of the widget will collapse to (0,0), the constraints will still apply.

Visibility

The widget will not be painted in the ConstraintLayout but its dimensions and constraints will still apply.

Visibility

Indicates that the widget will be painted in the ConstraintLayout.

Public companion properties

Gone

Added in 1.1.0-alpha13
val GoneVisibility

Like Invisible, but the dimensions of the widget will collapse to (0,0), the constraints will still apply.

Invisible

Added in 1.1.0-alpha13
val InvisibleVisibility

The widget will not be painted in the ConstraintLayout but its dimensions and constraints will still apply.

Equivalent to forcing the alpha to 0.0.

Visible

Added in 1.1.0-alpha13
val VisibleVisibility

Indicates that the widget will be painted in the ConstraintLayout. All render-time transforms will apply normally.