2011-02-15 86 views
0

我只是想动画像TranslateAnimation这样的ImageView,它应该将窗体中心移动到屏幕的顶部(因为ImageView位于Layout.xml中的LinearLayout的中心)。我用这个...如何在Android中将ImageView窗体中心动画到顶部?

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

我的工作,但我想向外扩展,同时图像移动到顶部...我怎样才能结合了动画?

回答