Freigeben über


TransitionSet.AddTransition(Transition) Method

Definition

Adds child transition to this set.

[Android.Runtime.Register("addTransition", "(Landroid/transition/Transition;)Landroid/transition/TransitionSet;", "GetAddTransition_Landroid_transition_Transition_Handler")]
public virtual Android.Transitions.TransitionSet? AddTransition (Android.Transitions.Transition? transition);
[<Android.Runtime.Register("addTransition", "(Landroid/transition/Transition;)Landroid/transition/TransitionSet;", "GetAddTransition_Landroid_transition_Transition_Handler")>]
abstract member AddTransition : Android.Transitions.Transition -> Android.Transitions.TransitionSet
override this.AddTransition : Android.Transitions.Transition -> Android.Transitions.TransitionSet

Parameters

transition
Transition

A non-null child transition to be added to this set.

Returns

This transitionSet object.

Attributes

Remarks

Adds child transition to this set. The order in which this child transition is added relative to other child transitions that are added, in addition to the #getOrdering() ordering property, determines the order in which the transitions are started.

If this transitionSet has a #getDuration() duration, #getInterpolator() interpolator, #getPropagation() propagation delay, #getPathMotion() path motion, or #setEpicenterCallback(EpicenterCallback) epicenter callback set on it, the child transition will inherit the values that are set. Transitions are assumed to have a maximum of one transitionSet parent.

Java documentation for android.transition.TransitionSet.addTransition(android.transition.Transition).

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