setVisibility

open fun setVisibility(visibility: Int)

Sets the visibility of this view. If set to VISIBLE, prepares the internal views.

Parameters

visibility

One of VISIBLE, INVISIBLE, or GONE.