Android APIs
Added in API level 19
package

android.transition

The classes in this package enable "scenes & transitions" functionality for view hiearchies.

A Scene is an encapsulation of the state of a view hierarchy, including the views in that hierarchy and the various values (layout-related and otherwise) that those views have. A scene can be defined by a layout hierarchy directly or by code which sets up the scene dynamically as it is entered.

A Transition is a mechanism to automatically animate changes that occur when a new scene is entered. Some transition capabilities are automatic. That is, entering a scene may cause animations to run which fade out views that go away, changeBounds and resize existing views that change, and fade in views that become visible. There are additional transitions that can animate other attributes, such as color changes, and which can optionally be specified to take place during particular scene changes. Finally, developers can define their own Transition subclasses which monitor particular property changes and which run custom animations when those properties change values.

TransitionManager is used to specify custom transitions for particular scene changes, and to cause scene changes with specific transitions to take place.

Interfaces

Transition.TransitionListener A transition listener receives notifications from a transition. 

Classes

ArcMotion A PathMotion that generates a curved path along an arc on an imaginary circle containing the two points. 
AutoTransition Utility class for creating a default transition that automatically fades, moves, and resizes views during a scene change. 
ChangeBounds This transition captures the layout bounds of target views before and after the scene change and animates those changes during the transition. 
ChangeClipBounds ChangeClipBounds captures the getClipBounds() before and after the scene change and animates those changes during the transition. 
ChangeImageTransform This Transition captures an ImageView's matrix before and after the scene change and animates it during the transition. 
ChangeTransform This Transition captures scale and rotation for Views before and after the scene change and animates those changes during the transition. 
CircularPropagation A propagation that varies with the distance to the epicenter of the Transition or center of the scene if no epicenter exists. 
Explode This transition tracks changes to the visibility of target views in the start and end scenes and moves views in or out from the edges of the scene. 
Fade This transition tracks changes to the visibility of target views in the start and end scenes and fades views in or out when they become visible or non-visible. 
PathMotion This base class can be extended to provide motion along a Path to Transitions. 
PatternPathMotion A PathMotion that takes a Path pattern and applies it to the separation between two points. 
Scene A scene represents the collection of values that various properties in the View hierarchy will have when the scene is applied. 
SidePropagation A TransitionPropagation that propagates based on the distance to the side and, orthogonally, the distance to epicenter. 
Slide This transition tracks changes to the visibility of target views in the start and end scenes and moves views in or out from one of the edges of the scene. 
Transition A Transition holds information about animations that will be run on its targets during a scene change. 
Transition.EpicenterCallback Class to get the epicenter of Transition. 
TransitionInflater This class inflates scenes and transitions from resource files. 
TransitionManager This class manages the set of transitions that fire when there is a change of Scene
TransitionPropagation Extend TransitionPropagation to customize start delays for Animators created in createAnimator(ViewGroup, TransitionValues, TransitionValues)
TransitionSet A TransitionSet is a parent of child transitions (including other TransitionSets). 
TransitionValues Data structure which holds cached values for the transition. 
Visibility This transition tracks changes to the visibility of target views in the start and end scenes. 
VisibilityPropagation Base class for TransitionPropagations that care about View Visibility and the center position of the View.