I need to make a scale driven animated dialog.. I want to do it with bounce effect i tried with bounce interpolater
<scale xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="500"
android:fromXScale="0"
android:fromYScale="0"
android:interpolator="@android:anim/bounce_interpolator"
android:toXScale="1"
android:toYScale="1" />
I want to modify the bounce effect make it slower/faster and size to bounce to. i didnt find anything, T tried to make it with sets
<set >
<scale
xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="500"
android:fromXScale="0"
android:fromYScale="0"
android:toXScale="1"
android:toYScale="1" />
<scale
xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="100"
android:fromXScale="1"
android:fromYScale="1"
android:startOffset="500"
android:toXScale=".8"
android:toYScale=".8" />
<scale
xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="100"
android:fromXScale=".8"
android:fromYScale=".8"
android:startOffset="600"
android:toXScale="1"
android:toYScale="1" />
</set>
the whole animation acts strangely? so my question is how to fix this animation by set Or how to modify the bounce_interpolator?