XML for slide out animation : Animation « Animation « Android
- Android
- Animation
- Animation
XML for slide out animation
<?xml version="1.0" encoding="utf-8" ?>
<objectAnimator xmlns:android="http://schemas.android.com/apk/res/android"
android:interpolator="@android:interpolator/accelerate_decelerate"
android:valueFrom="-1280"
android:valueTo="0"
android:valueType="floatType"
android:propertyName="X"
android:duration="2000" />
Related examples in the same category
1. | Animation: fade in, fade out | | |
2. | Frame based animation | | |
3. | extends Animation to create your own animation | | |
4. | Slide out down animation, bounce in down animation | | |
5. | XML for Fade in animation | | |
6. | Xml for Fade out animation | | |
7. | Animation Cloning | | |
8. | Animation Loading | | |
9. | Multi Property Animation | | |
10. | Animation: push up in,push up out,push left in,push left out,fade in,fade out,hyperspace in,hyperspace out | | |
11. | Using AlphaAnimation class to do animation in code | | |
12. | Animation Interpolator | | |
13. | Using TranslateAnimation class | | |
14. | Demonstrates the seeking capability of ValueAnimator. | | |
15. | Animating by calling invalidate() from draw(),loading and drawing resources, handling onPause() in an animation | | |