0

我只想为像 TranslateAnimation 这样的 ImageView 设置动画,它应该将表单中心(因为 ImageView 位于 Layout.xml 中 LinearLayout 的中心)移动到屏幕顶部。我用这个...

TranslateAnimation moveLefttoRight = new TranslateAnimation(0, 0, 0, -200);

我工作,但我想在图像移动到顶部时扩大规模......如何结合两个动画?

4

1 回答 1

0

本教程似乎指向了正确的方向:http ://www.barebonescoder.com/2010/06/android-development-more-animations-part-2/

于 2011-02-15T10:20:44.650 回答