View를 상속받은 EnemyView가 있습니다.


이 뷰에서 Translation(이동)애니메이션이 작동중입니다.


애니메이션이 동작하는 내내 포지션을 받아오고싶습니다. 이동하는path를 남기고 싶습니다.


int posX = this.getScrollX();

int posY = this.getScrollY();

int left = this.getLeft();

int right = this.getRight();

int bottom = this.getBottom();

int top = this.getTop();


int[] mTempCell = new int[4];

this.getLocationOnScreen(mTempCell);

int a = mTempCell[0];

int b = mTempCell[1];


이것처럼 get으로 할수있는건 다 해봤는데 이동하고있는 뷰의 position을 받아오지 못하고있습니다.


해결할 수 있는 방법좀 알려주시면 감사하겠습니다.


아니면 지금 this.startanimation(animation)으로 애니메이션을 구현중인데, 도중에pause하는 방법을


가르쳐주셔도 감사할것 같습니다.


오늘도 좋은 하루 보내세요~:)