摘要:
阅读:http://developer.android.com/training/gestures/index.html先直接上代码:public class MainActivity extends Activity {...// This example shows an Activity, but you would use the same approach if// you were subclassing a View.@Overridepublic boolean onTouchEvent(MotionEvent event){ int action = ... 阅读全文