Created
January 5, 2018 07:37
-
-
Save gokhanaliccii/b6f34bbaefe0b444d0798100de779ab9 to your computer and use it in GitHub Desktop.
Change android application's default activity transition
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style name="AppTheme.AnimatedTheme"> | |
<item name="android:windowAnimationStyle">@style/AnimatedTheme</item> | |
</style> | |
<style name="AnimatedTheme" parent="@android:style/Animation.Activity"> | |
<item name="android:activityOpenEnterAnimation">@anim/slide_in_right</item> | |
<item name="android:activityOpenExitAnimation">@anim/slide_out_left</item> | |
<item name="android:activityCloseEnterAnimation">@anim/slide_in_left</item> | |
<item name="android:activityCloseExitAnimation">@anim/slide_out_right</item> | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment