Compartir a través de


ViewGroup.AddStatesFromChildren Method

Definition

Returns whether this ViewGroup's drawable states also include its children's drawable states.

[Android.Runtime.Register("addStatesFromChildren", "()Z", "GetAddStatesFromChildrenHandler")]
public virtual bool AddStatesFromChildren ();
[<Android.Runtime.Register("addStatesFromChildren", "()Z", "GetAddStatesFromChildrenHandler")>]
abstract member AddStatesFromChildren : unit -> bool
override this.AddStatesFromChildren : unit -> bool

Returns

Attributes

Remarks

Returns whether this ViewGroup's drawable states also include its children's drawable states. This is used, for example, to make a group appear to be focused when its child EditText or button is focused.

Java documentation for android.view.ViewGroup.addStatesFromChildren().

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