Change all the activity transitions at once in Android App

Copied from https://stackoverflow.com/a/8319701/2722270

<style name="ActivityTransition">
    <item name="android:windowEnterAnimation">@android:anim/fade_in</item>
    <item name="android:windowExitAnimation">@android:anim/fade_out</item>
</style>

<style name="ActivityTheme" parent="Theme.AppCompat.Light.NoActionBar">
    <item name="android:windowAnimationStyle">@style/ActivityTransition</item>
</style>