Android L setEnterTransition not working
android, android-5.0-lollipop, transition
Solution
The documentation may be wrong. You need to enable FEATURE_ACTIVITY_TRANSITION.
Problem
I'm currently trying to use the new transition animations in Android 5.0. I started as suggested by many Tutorials: ``` @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); getWindow().requestFeature(Window.FEATURE_CONTENT_TRANSITIONS); getWindow().setEnterTransition(new Explode()); getWindow().setExitTransition(new Explode()); setContentView(R.layout.activity_quiz); getActionBar().setTitle("Java Skill"); getActionBar().setElevation(2); } ``` I put this code into every activity of my project but it never works. The only animation I get is the "slide in effect" from the bottom. Am I doing something wrong here? Do I have to define anything else, maybe in my layouts or styles.xml? I hope anyone ran into the same problem as me. Thanks very much in advance!