开发者

Android image animation

开发者 https://www.devze.com 2023-01-10 02:44 出处:网络
I\'ve been doing the following for the last three days without any success. Suppose I have one image. I have set that image invisible in my XML layout. Now I want to make it visible through animation

I've been doing the following for the last three days without any success.

Suppose I have one image. I have set that image invisible in my XML layout. Now I want to make it visible through animation. Suppose translate animation.

Suppose there is point A and point B. On point B I have already set the image invisible. From point A I want a translate animation effect. And when i开发者_运维技巧t completes, the image B becomes visible.

Please help me.


try using ViewFlipper (or ViewAnimator) setting your ImageView as children and defining animation effect for transition

0

精彩评论

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