I want to perform a tween animation within a view. I receive unexpected results, if I do a simple scaling animation on an ImageView (containing a simple picture, and part of a RelativeLayout) which I want to shrink from "full-size" to "half-size": XML <set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/accelerate_interpolator">
<scale android:fromXScale="1.0" android:toXScale="0.5" android:fromYScale="1.0" android:toYScale="0.5" android:pivotX="50%" android:pivotY="50%" android:duration="1000" /> <scale android:fromXScale="0.5" android:toXScale="1.0" android:fromYScale="0.5" android:toYScale="1.0" android:pivotX="50%" android:pivotY="50%" android:startOffset="1000" android:duration="1000" /> </set> Despite starting with a scale of "1.0" (which I would think would be "full-size"), the animation starts off with a size of ~1/2 the original image size in this ImageView, and then shrinks down to 1/4 size, and then returns to 1/2 size at the end of the animation. When the animation is completely over, the image returns its original "full- size" on the screen. Any help greatly appreciated. thanks, Jim -- 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