public class AutoTransition
extends TransitionSet

   ↳ androidx.transition.Transition
     ↳ androidx.transition.TransitionSet
       ↳ androidx.transition.AutoTransition

Utility class for creating a default transition that automatically fades, moves, and resizes views during a scene change.

An AutoTransition can be described in a resource file by using the tag autoTransition, along with the other standard attributes of Transition.


Inherited constants

Public constructors


Constructs an AutoTransition object, which is a TransitionSet which first fades out disappearing targets, then moves and resizes existing targets, and finally fades in appearing targets.

AutoTransition(Context context, AttributeSet attrs)

Inherited methods