setVisibility

open fun setVisibility(visibility: Int)

Sets the button visibility.

Parameters

visibility

One of VISIBLE, INVISIBLE, or GONE.