2011-10-06 5 views

답변

2

터치 처리 좌표를 가져 오는 OnTouch 이벤트를 처리합니다.

이벤트에 MotionEvent 클래스의 인스턴스가 포함되어 있습니다.

객체 (예를 들어 현재의 그림 위치)를 이동하는 과정은 다음과 같습니다

b=get previous touch coordinates 
    a=get cordinates of current touch 
    move object from location b to a 
관련 문제