List of usage examples for android.view Window setSharedElementExitTransition
public void setSharedElementExitTransition(Transition transition)
From source file:Main.java
public static void setSharedElementExitTransition(Window window, Transition transition) { if (transition == null) { return;/*from ww w. j a v a 2 s .com*/ } if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { window.setSharedElementExitTransition(transition); } }