Summary: Methods | Inherited Methods
public
class
TransitionInflater
extends Object
This class inflates scenes and transitions from resource files.
Information on XML resource descriptions for transitions can be found for
R.styleable.Transition, R.styleable.TransitionSet,
R.styleable.TransitionTarget, R.styleable.Fade,
and R.styleable.TransitionManager.
Summary
Public methods | |
|---|---|
static
TransitionInflater
|
from(Context context)
Obtains the TransitionInflater from the given context. |
Transition
|
inflateTransition(int resource)
Loads a |
TransitionManager
|
inflateTransitionManager(int resource, ViewGroup sceneRoot)
Loads a |
Inherited methods | |||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
From class
| |||||||||||||||||||||||
Public methods
inflateTransition
public Transition inflateTransition (int resource)
Loads a Transition object from a resource
| Parameters | |
|---|---|
resource |
int: The resource id of the transition to load |
| Returns | |
|---|---|
Transition |
The loaded Transition object |
| Throws | |
|---|---|
Resources.NotFoundException |
when the transition cannot be loaded |