Android APIs
public class

AutoTransition

extends TransitionSet
java.lang.Object
   ↳ android.transition.Transition
     ↳ android.transition.TransitionSet
       ↳ android.transition.AutoTransition

Class Overview

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.

Summary

[Expand]
Inherited XML Attributes
From class android.transition.Transition
[Expand]
Inherited Constants
From class android.transition.TransitionSet
From class android.transition.Transition
Public Constructors
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.
AutoTransition(Context context, AttributeSet attrs)
[Expand]
Inherited Methods
From class android.transition.TransitionSet
From class android.transition.Transition
From class java.lang.Object

Public Constructors

public AutoTransition ()

Added in API level 19

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.

public AutoTransition (Context context, AttributeSet attrs)

Added in API level 21

Parameters
context Context
attrs AttributeSet