Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public class

TransitionInflater

extends Object
java.lang.Object
   ↳ android.transition.TransitionInflater

Class Overview

This class inflates scenes and transitions from resource files. Information on XML resource descriptions for transitions can be found for Transition , TransitionSet , TransitionTarget , Fade , and TransitionManager .

Summary

Public Methods
static TransitionInflater from ( Context context)
Obtains the TransitionInflater from the given context.
Transition inflateTransition (int resource)
Loads a Transition object from a resource
TransitionManager inflateTransitionManager (int resource, ViewGroup sceneRoot)
Loads a TransitionManager object from a resource
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static TransitionInflater from ( Context context)

Obtains the TransitionInflater from the given context.

public Transition inflateTransition (int resource)

Loads a Transition object from a resource

Parameters
resource The resource id of the transition to load
Returns
  • The loaded Transition object
Throws
Resources.NotFoundException when the transition cannot be loaded

public TransitionManager inflateTransitionManager (int resource, ViewGroup sceneRoot)

Loads a TransitionManager object from a resource

Parameters
resource The resource id of the transition manager to load
Returns
  • The loaded TransitionManager object
Throws
Resources.NotFoundException when the transition manager cannot be loaded