diff options
Diffstat (limited to 'library/src/main/res')
-rw-r--r-- | library/src/main/res/values/styles_animations.xml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/library/src/main/res/values/styles_animations.xml b/library/src/main/res/values/styles_animations.xml new file mode 100644 index 0000000..a991132 --- /dev/null +++ b/library/src/main/res/values/styles_animations.xml @@ -0,0 +1,30 @@ +<resources> + + <style name="KauSlideIn" parent="@android:style/Animation.Activity"> + <item name="android:activityOpenEnterAnimation">@anim/kau_slide_in_right</item> + <item name="android:activityCloseEnterAnimation">@anim/kau_slide_in_right</item> + <item name="android:taskOpenEnterAnimation">@anim/kau_slide_in_right</item> + <item name="android:taskCloseEnterAnimation">@anim/kau_slide_in_right</item> + <item name="android:taskToFrontEnterAnimation">@anim/kau_slide_in_right</item> + <item name="android:windowEnterAnimation">@anim/kau_slide_in_right</item> + </style> + + <style name="KauSlideInSlideOut" parent="@style/KauSlideIn"> + <item name="android:activityOpenExitAnimation">@anim/kau_slide_out_right</item> + <item name="android:activityCloseExitAnimation">@anim/kau_slide_out_right</item> + <item name="android:taskOpenExitAnimation">@anim/kau_slide_out_right</item> + <item name="android:taskCloseExitAnimation">@anim/kau_slide_out_right</item> + <item name="android:taskToFrontExitAnimation">@anim/kau_slide_out_right</item> + <item name="android:windowExitAnimation">@anim/kau_slide_out_right</item> + </style> + + <style name="KauSlideInFadeOut" parent="@style/KauSlideIn"> + <item name="android:activityOpenExitAnimation">@anim/kau_fade_out</item> + <item name="android:activityCloseExitAnimation">@anim/kau_fade_out</item> + <item name="android:taskOpenExitAnimation">@anim/kau_fade_out</item> + <item name="android:taskCloseExitAnimation">@anim/kau_fade_out</item> + <item name="android:taskToFrontExitAnimation">@anim/kau_fade_out</item> + <item name="android:windowExitAnimation">@anim/kau_fade_out</item> + </style> + +</resources> |