Tuesday, 27 August 2013

Applying animation more then ones in android

Applying animation more then ones in android

I have a problem with animation applying
Actually have animation code
<translate xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="1000"
android:fromXDelta="0"
android:interpolator="@anim/cycle_10"
android:toXDelta="10" />
but after starting of application this animation can be applied only ones
public void onClick{
button.setAnimation(shake);
}
how to apply this animation more?

No comments:

Post a Comment