Share via


View.Activated Property

Definition

Indicates the activation state of this view. -or- Changes the activated state of this view.

public virtual bool Activated { [Android.Runtime.Register("isActivated", "()Z", "GetIsActivatedHandler")] get; [Android.Runtime.Register("setActivated", "(Z)V", "GetSetActivated_ZHandler")] set; }
[<get: Android.Runtime.Register("isActivated", "()Z", "GetIsActivatedHandler")>]
[<set: Android.Runtime.Register("setActivated", "(Z)V", "GetSetActivated_ZHandler")>]
member this.Activated : bool with get, set

Property Value

true if the view is activated, false otherwise

Attributes

Remarks

Property getter documentation:

Indicates the activation state of this view.

Java documentation for android.view.View.isActivated().

Property setter documentation:

Changes the activated state of this view. A view can be activated or not. Note that activation is not the same as selection. Selection is a transient property, representing the view (hierarchy) the user is currently interacting with. Activation is a longer-term state that the user can move views in and out of. For example, in a list view with single or multiple selection enabled, the views in the current selection set are activated. (Um, yeah, we are deeply sorry about the terminology here.) The activated state is propagated down to children of the view it is set on.

Java documentation for android.view.View.setActivated(boolean).

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