anim = new TranslateAnimation(blue.getX(),blue.getX()-100,blue.getY(),blue.getY()-100);
anim.setDuration(5000);
mAnimTarget.startAnimation(anim);
이렇게 코드를 작성했는데여
화면만 깜빡 거리네여 ㅠㅠ
근데
anim = new TranslateAnimation(0,100,blue.getY(),blue.getY()-100);
이렇게 절대 좌표를 주면 잘되여 ㅠㅠ 왜 그런거져?
사용하는 값이 다른가여??
혹시 화면에 그려지기 전이라 그런거 아닌가요?
getX(), getY() 로그 찍어서 확인해보세요ㅎ