Visibility.Companion


object Visibility.Companion


Summary

Public 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 properties

Gone

val GoneVisibility

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

Invisible

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

val VisibleVisibility

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