setVisibility

open fun setVisibility(visibility: Int)

Sets the visibility of this view. When visible, shows the keyboard and adjusts soft input mode for proper interaction. When hidden, restores the original soft input mode.

Parameters

visibility

One of VISIBLE, INVISIBLE, or GONE.