FileDocCategorySizeDatePackage
AutoTransition.javaAPI DocAndroid 5.1 API1732Thu Mar 12 22:22:10 GMT 2015android.transition

AutoTransition

public class AutoTransition extends TransitionSet
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 {@link android.R.styleable#Transition}.

Fields Summary
Constructors Summary
public AutoTransition()
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.

        init();
    
public AutoTransition(android.content.Context context, android.util.AttributeSet attrs)

        super(context, attrs);
        init();
    
Methods Summary
private voidinit()

        setOrdering(ORDERING_SEQUENTIAL);
        addTransition(new Fade(Fade.OUT)).
                addTransition(new ChangeBounds()).
                addTransition(new Fade(Fade.IN));