제가
GestureDetector mGestureDetector = new GestureDetector(this, new SimpleGestureListener());
로 GestureDetector 객체를 만들고 이를 버튼에
findViewById(R.id.btn).setOnTouchListener(mGestureDetector);
라고 썼습니다.
당연히 에러가 났죠..
레이아웃 안의 위젯에 더블 클릭을 받게 하는 이벤트를 주려고 하는데 이를 어떻게 해야 버튼안에 제스쳐 이벤트 리스너를 넣을수 있을 까요?