Xml for Fade out animation : Animation « Animation « Android
- Android
- Animation
- Animation
Xml for Fade out animation
<?xml version="1.0" encoding="utf-8" ?>
<objectAnimator xmlns:android="http://schemas.android.com/apk/res/android"
android:valueFrom="1"
android:valueTo="0"
android:valueType="floatType"
android:propertyName="alpha"
android:duration="500" />
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 slide 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 | | |