Hello,
I'm new here and I don't know if this is the right place for my
problem. Please excuse me if it's wrong.
I want to create a scale animation where a view grows a bit from it's
original size and then shrinks to it's old size.
My XML file:
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android";>
        <scale
                android:repeatCount="infinite"
                android:fromXScale="1.0"
                android:toXScale="1.2"
                android:fromYScale="1.0"
                android:toYScale="1.2"
                android:pivotX="50%"
                android:pivotY="50%"
                android:duration="2000"
                android:startOffset="0" />
        <scale
                android:repeatCount="infinite"
                android:fromXScale="1.2"
                android:toXScale="1.0"
                android:fromYScale="1.2"
                android:toYScale="1.0"
                android:pivotX="50%"
                android:pivotY="50%"
                android:duration="2000"
                android:startOffset="2000" />
</set>
When I start this animation the view object grows directly by the
factor 1.2. Then the animation starts and the view grows and shrinks
like I want it. After that there is another jump to the original size
of the view. So there are two jumps, which I don't want and I don't
know how to solve this problem.
Please could you help me.
Thank you

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to