1. Check out our app, Forums for Android! Download and leave feedback here!

TranslateAnimation ???

Discussion in 'Application Development' started by aryaxt, Jun 17, 2010.

  1. aryaxt

    aryaxt Member
    Thread Starter
    15

    Jun 1, 2010
    21
    0
    15
    I am using TranslateAnimation to move an object from 1 position to another.
    startX = 1;
    secondX = 100;
    thirdX = 200;

    but the animation doesn't save the new location of the object.
    So when i call it to go to secondX it goes from 1 to 100.
    then, when i call it to go to thirdX instead of going from 100, to 200, it goes from 1 to 200.

    Is the any way to save the location of the object on the screen after the animation is done?
     

    Advertisement

Share This Page

Loading...