I spent many hours trying to find out why my Activities do not show any transition when calling Finish(). The default show/appear animation works as expected though.
I don´t want to override pending transitions with a custom animation. I just want the default transitions.
Update
I created a brand new project with a couple of regular activities and they transition-out as expected. Then I created 2 AppCompatActivity
and added the support libraries to the project and voilá, same problem.
This is what my Theme looks like on values
:
<style name="ChefTheme" parent="ChefTheme.Base">
</style>
<style name="ChefTheme.Base" parent="Theme.AppCompat.Light.NoActionBar">
<item name="colorPrimary">@color/primary</item>
<item name="colorPrimaryDark">@color/primaryDark</item>
<item name="colorAccent">@color/accent</item>
<item name="android:windowBackground">@color/window_background</item>
</style>
and this is on values-v21
:
<style name="ChefTheme" parent="ChefTheme.Base">
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
<item name="android:windowContentTransitions">true</item>
<item name="android:windowAllowEnterTransitionOverlap">true</item>
<item name="android:windowAllowReturnTransitionOverlap">true</item>
<item name="android:windowSharedElementEnterTransition">@android:transition/move</item>
<item name="android:windowSharedElementExitTransition">@android:transition/move</item>
</style>
Any idea why could this be happening?