How to detect android double tap? [duplicate]
问题 This question already has answers here : How to listen to doubletap on a view in android? [duplicate] (1 answer) Android: How to detect double-tap? (20 answers) Closed 5 years ago . How to detect the double tap in android? I implement OnDoubleTapListener and wrote this: public boolean onDoubleTapEvent(MotionEvent e) { // TODO Auto-generated method stub if(e.getAction() == 1){ Toast.makeText(getApplicationContext(),"Double Tap", Toast.LENGTH_SHORT).show(); } return true; } But it is not