AutoTransitionpublic 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}. |
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 void | init()
setOrdering(ORDERING_SEQUENTIAL);
addTransition(new Fade(Fade.OUT)).
addTransition(new ChangeBounds()).
addTransition(new Fade(Fade.IN));
|
|