Last active
August 15, 2017 17:33
-
-
Save shubham08gupta/1b0442b83fedf6191e69bfd984e61e07 to your computer and use it in GitHub Desktop.
Styles-v21 file for android animations
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
<?xml version="1.0" encoding="utf-8"?> | |
<resources> | |
<style name="BaseTheme" parent="Theme.AppCompat.Light.NoActionBar"> | |
<!-- Customize your theme here. --> | |
<item name="colorPrimary">@color/colorPrimary</item> | |
<item name="colorPrimaryDark">@color/colorPrimaryDark</item> | |
<item name="colorAccent">@color/colorAccent</item> | |
</style> | |
<style name="AppTheme" parent="BaseTheme"> | |
<!-- enable window content transitions --> | |
<item name="android:windowActivityTransitions">true</item> | |
<!-- specify enter and exit transitions --> | |
<item name="android:windowEnterTransition">@android:transition/explode | |
</item> | |
<item name="android:windowExitTransition">@android:transition/explode | |
</item> | |
<!-- specify shared element transitions --> | |
<item name="android:windowSharedElementEnterTransition"> | |
@transition/change_image_transformation | |
</item> | |
<item name="android:windowSharedElementExitTransition"> | |
@transition/change_image_transformation | |
</item> | |
</style> | |
</resources> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment