Moving image through different x,y coordinates
Posted
by
user525004
on Stack Overflow
See other posts from Stack Overflow
or by user525004
Published on 2011-01-11T05:48:46Z
Indexed on
2011/01/11
5:53 UTC
Read the original article
Hit count: 143
android-animation
I have created an array of coordinates. The centre of an image should move through those coordinates. I have used TranslateAnimation to achieve it. But during the animation the image is moving within the last two coordinates. Below is my code:
private void CreateAnimationAndRun() { // move to the different coordinates one by one for(int k=0; k
The above function is called on a button click.
© Stack Overflow or respective owner