Java android.transition Scene fields, constructors, methods, implement or subclass

Example usage for Java android.transition Scene fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.transition Scene.

The text is from its open source code.

Constructor

Scene(ViewGroup sceneRoot, View layout)
Constructs a Scene which, when entered, will remove any children from the sceneRoot container and add the layout object as a new child of that container.
Scene(ViewGroup sceneRoot, ViewGroup layout)
Scene(ViewGroup sceneRoot)
Constructs a Scene with no information about how values will change when this scene is applied.

Method

ScenegetSceneForLayout(ViewGroup sceneRoot, int layoutId, Context context)
Returns a Scene described by the resource file associated with the given layoutId parameter.
ViewGroupgetSceneRoot()
Gets the root of the scene, which is the root of the view hierarchy affected by changes due to this scene, and which will be animated when this scene is entered.
voidsetEnterAction(Runnable action)
Scenes that are not defined with layout resources or hierarchies, or which need to perform additional steps after those hierarchies are changed to, should set an enter action, and possibly an exit action as well.