Language

VisibilitySetterAction.Builder.SetVisibility(Int32, ViewStates) Method

Definition

Sets the action to changes the visibility of a child view.

[Android.Runtime.Register("setVisibility", "(II)Landroid/service/autofill/VisibilitySetterAction$Builder;", "", ApiSince=29)]
public Android.Service.Autofill.VisibilitySetterAction.Builder SetVisibility(int id, Android.Views.ViewStates visibility);
[<Android.Runtime.Register("setVisibility", "(II)Landroid/service/autofill/VisibilitySetterAction$Builder;", "", ApiSince=29)>]
member this.SetVisibility : int * Android.Views.ViewStates -> Android.Service.Autofill.VisibilitySetterAction.Builder

Parameters

id
Int32

view resource id of the children view.

visibility
ViewStates

one of View.VISIBLE, View.INVISIBLE, or View.GONE. Value is one of the following: View.VISIBLE; View.INVISIBLE; View.GONE

Returns

Attributes

Remarks

Sets the action to changes the visibility of a child view.

Android reference for android.service.autofill.VisibilitySetterAction.Builder.setVisibility.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to