While windowExitTransition
is working as expected I cannot get windowEnterTransition
to work:
themes.xml
<item name="android:windowEnterTransition">@android:transition/explode</item>
<item name="android:windowExitTransition">@android:transition/explode</item>
MainActivity.java
Intent intent = new Intent(MainActivity.this, SubjectActivity.class);
startActivity(intent, ActivityOptionsCompat.makeSceneTransitionAnimation(MainActivity.this).toBundle());
Be sure to apply the same theme with the specified transitions to both Activities.