开发者

How to animate ImageView form center to the top in android?

I just want to animate a ImageView like TranslateAnimation which should move form center(As the开发者_如何学编程 ImageView is in center of LinearLayout in Layout.xml) to top of the screen. I use this...

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

I work, But I want to Scale out while image is moving to the top... How I can combine both animations?


This tutorial seems to point in the right direction: http://www.barebonescoder.com/2010/06/android-development-more-animations-part-2/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜