public boolean onTouchEvent(MotionEvent event){ touchX = (int) event.getX(); touchY = (int) event.getY(); touchAction = event.getAction(); if (touchAction == MotionEvent.ACTION_MOVE){ // 드래그 처리 } return true; }
댓글 없음:
댓글 쓰기