setVisibility

open fun setVisibility(visibility: Int)

Sets the visibility of this view. When set to VISIBLE, the underlying search view will be initialized if it hasn't been already.

Parameters

visibility

One of VISIBLE, INVISIBLE, or GONE.