Issue
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());
Solution
Be sure to apply the same theme with the specified transitions to both Activities.
Answered By - sockeqwe
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.