Android animation 효과들

애니메이션 효과들

<이동>
<?xml version=”1.0″ encoding=”utf-8″?>
<set xmlns:android=”http://schemas.android.com/apk/res/android
??? android:interpolator=”@android:anim/overshoot_interpolator”
??? >
?? <translate android:fromXDelta=”-100%”
????? android:toXDelta=”0″
????? android:duration=”1000″
????/>
</set>

<회전>
<?xml version=”1.0″ encoding=”utf-8″?>
<set xmlns:android=”http://schemas.android.com/apk/res/android
??? android:interpolator=”@android:anim/overshoot_interpolator”
??? >
?? <rotate android:fromDegress=”0.0″
????? android:toDegress=”360″
????? android:pivotX=”0%”
????? android:pivotY=”50%”
?? />
</set>

<크기>
<?xml version=”1.0″ encoding=”utf-8″?>
<set xmlns:android=”http://schemas.android.com/apk/res/android
??? android:interpolator=”@android:anim/overshoot_interpolator”
??? >
?? <scale android:fromXScale=”1″
????? android:toXScale=”1″
????? android:fromYScale=”0.1″
????? android:toYScale=”1.0″
????? android:duration=”500″
????? android:pivotX=”50%”
????? android:pivotY=”50%”
?? />
</set>

<알파>
<?xml version=”1.0″ encoding=”utf-8″?>
<set xmlns:android=”http://schemas.android.com/apk/res/android
??? android:interpolator=”@android:anim/overshoot_interpolator”
??? >
?? <alpha android:fromAlpha=”0.0″
????? android:toAlpha=”1.0″
????? android:duration=”1000″
?? />
</set>

<혼합>
<?xml version=”1.0″ encoding=”utf-8″?>
<set xmlns:android=”http://schemas.android.com/apk/res/android
??? android:interpolator=”@android:anim/overshoot_interpolator”
??? >
??? <translate
??????? android:fromYDelta=”0″
??????? android:toYDelta=”100%”
??????? android:duration=”1000″
??????? />
??? <alpha
??????? android:fromAlpha=”1.0″
??????? android:toAlpha=”0.0″
??????? android:duration=”1000″
??????? />
</set>

댓글 남기기

당신의 이메일은 공개되지 않습니다. 필수 입력창은 * 로 표시되어 있습니다.

*

다음의 HTML 태그와 속성을 사용할 수 있습니다: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>