共用方式為


ViewGroup.ScheduleLayoutAnimation Method

Definition

Schedules the layout animation to be played after the next layout pass of this view group.

[Android.Runtime.Register("scheduleLayoutAnimation", "()V", "GetScheduleLayoutAnimationHandler")]
public virtual void ScheduleLayoutAnimation ();
[<Android.Runtime.Register("scheduleLayoutAnimation", "()V", "GetScheduleLayoutAnimationHandler")>]
abstract member ScheduleLayoutAnimation : unit -> unit
override this.ScheduleLayoutAnimation : unit -> unit
Attributes

Remarks

Schedules the layout animation to be played after the next layout pass of this view group. This can be used to restart the layout animation when the content of the view group changes or when the activity is paused and resumed.

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

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