Example usage for android.view Window setEnterTransition

List of usage examples for android.view Window setEnterTransition

Introduction

In this page you can find the example usage for android.view Window setEnterTransition.

Prototype

public void setEnterTransition(Transition transition) 

Source Link

Document

Sets the Transition that will be used to move Views into the initial scene.

Usage

From source file:Main.java

public static void setEnterTransition(Window window, Transition transition) {
    if (transition == null) {
        return;/* ww  w  . ja  v a  2 s .c o m*/
    }
    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
        window.setEnterTransition(transition);
    }
}