Android MotionEvent.ACTION_UP和ACTION_CANCEL的区别
2016-10-11 12:03
1151 查看
1.MotionEvent.ACTION_UP
直接上图说明:2.MotionEvent.ACTION_CANCEL
图片说明:其他的MotionEvent以后用到再更新
总结:
MotionEvent.ACTION_UP和ACTION_CANCEL的区别 图片上可能不怎么清楚。这里再说一下,手指点击屏幕之后直接抬起触发的就是MotionEvent.ACTION_UP;手指点击屏幕之后反复摩擦再抬起触发的就是MotionEvent.ACTION_UP。
相关文章推荐
- android中MotionEvent.ACTION_CANCEL事件如何被触发?
- android中MotionEvent.ACTION_CANCEL事件是什么意思,如何触发
- android MotionEvent getAction,getActionMasked,getActionIndex区别
- android中MotionEvent.ACTION_CANCEL事件如何被触发?
- Android onTouchEvent的MotionEvent.ACTION_UP不响应
- android中MotionEvent.ACTION_CANCEL事件如何被触发?
- android MotionEvent.ACTION_CANCEL情景分析
- android中MotionEvent.ACTION_CANCEL事件如何被触发?
- Android onTouch 斜滑或者MotionEvent.ACTION_UP 不反应
- android中MotionEvent.ACTION_CANCEL事件如何被触发?
- android中MotionEvent.ACTION_CANCEL事件如何被触发?
- Android onTouchEvent的MotionEvent.ACTION_UP不响应
- 安卓-MotionEvent之ACTION_CANCEL
- Android MotionEvent中getX()和getRawX()的区别
- SurfaceView监听不到MotionEvent.ACTION_MOVE和MotionEvent.ACTION_UP事件的解决办法
- android MotionEvent中getX()和getRawX()的区别
- 安卓-MotionEvent之ACTION_CANCEL
- 使用OnTouchListener()的一个坑,监听不到MotionEvent.ACTION_UP
- android MotionEvent Action
- android事件传递机制以及onInterceptTouchEvent()和OnTouchEvent()详解三之ACTION_CANCEL事件和事件回传