The following code works as expected up until about SDK 1.4.3 (continuous build).
However, in the latest few builds of SDK 1.5.0 (tested up until Dec 5 2010 23:34 r4d92d405), the imageView resets to the center before animating to the desired position.
Click one of the "Move…" buttons several times to see what I'm talking about. The is seen on both the simulator and the device.
I have tried using top/left instead of center, but this does not work at all, causing the image to disappear off the screen entirely.
Any workarounds would be appreciated.
I'm seeing it in my continuous build as well - filed a Lighthouse issue to track. Thank you for providing a test case, we'll look at it ASAP.
Has anyone found a workaround for this issue? Using .top/.bottom/.left/.right instead of center.x/center.y for the animation produced unexpected results for me.
The bug doesn't seem to have been assigned to anyone, unfortunately, so it doesn't look like this issue will be fixed anytime soon.