View Animation (Resizing a Ball)
Posted
by user270811
on Stack Overflow
See other posts from Stack Overflow
or by user270811
Published on 2010-04-01T22:56:21Z
Indexed on
2010/04/01
23:03 UTC
Read the original article
Hit count: 336
hi,
i am trying to do this:
1) user long touches the screen, 2) a circle/ball pops up (centered around the user's finger) and grows in size as long as the user is touching the screen 3) once the user lets go of the finger, the ball (now in its final size) will bounce around.
i think i have the bouncing around figure out from the DivideAndConquer example, but i am not sure how to animate the ball's growth. i looked at various view flipper examples such as this:
http://www.inter-fuser.com/2009/08/android-animations-3d-flip.html
but it seems like view flipper is best for swapping two static pictures. i wasn't able to find a good view animator example other than the flippers. also, i would prefer to use images as opposed to just a circle. can someone point me in the right direction?
thanks.
© Stack Overflow or respective owner