Visibility
class Visibility
The overall visibility of a widget in a ConstraintLayout.
Summary
Public companion properties |
|
|---|---|
Visibility |
Like |
Visibility |
The widget will not be painted in the |
Visibility |
Indicates that the widget will be painted in the |
Public companion properties
Gone
val Gone: Visibility
Like Invisible, but the dimensions of the widget will collapse to (0,0), the constraints will still apply.
Invisible
val Invisible: Visibility
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 Visible: Visibility
Indicates that the widget will be painted in the ConstraintLayout. All render-time transforms will apply normally.