共用方式為


ViewGroup.ChildDrawableStateChanged(View) Method

Definition

If #addStatesFromChildren is true, refreshes this group's drawable state (to include the states from its children).

[Android.Runtime.Register("childDrawableStateChanged", "(Landroid/view/View;)V", "GetChildDrawableStateChanged_Landroid_view_View_Handler")]
public virtual void ChildDrawableStateChanged (Android.Views.View? child);
[<Android.Runtime.Register("childDrawableStateChanged", "(Landroid/view/View;)V", "GetChildDrawableStateChanged_Landroid_view_View_Handler")>]
abstract member ChildDrawableStateChanged : Android.Views.View -> unit
override this.ChildDrawableStateChanged : Android.Views.View -> unit

Parameters

child
View

The child whose drawable state has changed.

Implements

Attributes

Remarks

If #addStatesFromChildren is true, refreshes this group's drawable state (to include the states from its children).

Java documentation for android.view.ViewGroup.childDrawableStateChanged(android.view.View).

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