Reference
http://www.androidhive.info/2013/06/android-working-with-xml-animations/
ex)
<?xml version="1.0" encoding="utf-8"?>
<set
xmlns:android="http://schemas.android.com/apk/res/android"
android:interpolator="@android:anim/accelerate_interpolator"
>
<scale
android:fromXScale="1.0"
android:toXScale="20.0"
android:fromYScale="1.0"
android:toYScale="20.0"
android:pivotX="50%"
android:pivotY="50%"
android:duration="500"
/>
<alpha
android:fromAlpha="1.0"
android:toAlpha="-1.0"
android:duration="500"
/>
<rotate
android:fromDegrees="0.0"
android:toDegrees="360.0"
android:pivotX="50%"
android:pivotY="50%"
android:duration="500"
/>
</set>
fade_in.xml
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:interpolator="@android:anim/accelerate_interpolator" >
<alpha
android:duration="2000"
android:fromAlpha="0.0"
android:toAlpha="1.0"
/>
</set>
fade_out.xml
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:interpolator="@android:anim/accelerate_interpolator" >
<alpha
android:duration="2000"
android:fromAlpha="1.0"
android:toAlpha="0.0"
/>
</set>