android MotionEvent Action
2016-10-08 17:34
260 查看
MotionEvent.ACTION_DOWN:在第一个点被按下时触发
MotionEvent.ACTION_UP:当屏幕上唯一的点被放开时触发
MotionEvent.ACTION_POINTER_DOWN:当屏幕上已经有一个点被按住,此时再按下其他点时触发。
MotionEvent.ACTION_POINTER_UP:当屏幕上有多个点被按住,松开其中一个点时触发(即非最后一个点被放开时)。
MotionEvent.ACTION_MOVE:当有点在屏幕上移动时触发。值得注意的是,由于它的灵敏度很高,而我们的手指又不可能完全静止(即使我们感觉不到移动,但其实我们的手指也在不停地抖动),所以实际的情况是,基本上只要有点在屏幕上,此事件就会一直不停地被触发。
<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
阅读(225) | 评论(0) | 转发(0) |
0
上一篇:android4.0 支持监控鼠标事件hover
下一篇:link of class failed
相关热门文章
Android之开发环境搭建
Android自定义View的实现...
AndroidManifest.xml配置文件...
Android相对布局+圆角按钮+Sha...
查看Android应用包名package和...
linux dhcp peizhi roc
关于Unix文件的软链接
求教这个命令什么意思,我是新...
sed -e "/grep/d" 是什么意思...
谁能够帮我解决LINUX 2.6 10...
给主人留下些什么吧!~~
评论热议
MotionEvent.ACTION_UP:当屏幕上唯一的点被放开时触发
MotionEvent.ACTION_POINTER_DOWN:当屏幕上已经有一个点被按住,此时再按下其他点时触发。
MotionEvent.ACTION_POINTER_UP:当屏幕上有多个点被按住,松开其中一个点时触发(即非最后一个点被放开时)。
MotionEvent.ACTION_MOVE:当有点在屏幕上移动时触发。值得注意的是,由于它的灵敏度很高,而我们的手指又不可能完全静止(即使我们感觉不到移动,但其实我们的手指也在不停地抖动),所以实际的情况是,基本上只要有点在屏幕上,此事件就会一直不停地被触发。
<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
阅读(225) | 评论(0) | 转发(0) |
0
上一篇:android4.0 支持监控鼠标事件hover
下一篇:link of class failed
相关热门文章
Android之开发环境搭建
Android自定义View的实现...
AndroidManifest.xml配置文件...
Android相对布局+圆角按钮+Sha...
查看Android应用包名package和...
linux dhcp peizhi roc
关于Unix文件的软链接
求教这个命令什么意思,我是新...
sed -e "/grep/d" 是什么意思...
谁能够帮我解决LINUX 2.6 10...
给主人留下些什么吧!~~
评论热议
相关文章推荐
- android中MotionEvent.ACTION_CANCEL事件如何被触发?
- android中MotionEvent.ACTION_CANCEL事件如何被触发?
- android中MotionEvent.ACTION_CANCEL事件如何被触发?
- android中MotionEvent.ACTION_CANCEL事件如何被触发?
- android MotionEvent.ACTION_CANCEL情景分析
- Android 多点触控实践解析及加入MotionEvent.ACTION_MASK的原因
- android中MotionEvent.ACTION_CANCEL事件如何被触发?
- android中MotionEvent.ACTION_CANCEL事件如何被触发?
- Android MotionEvent.ACTION_UP和ACTION_CANCEL的区别
- Android 自定义view之后只能监听到MotionEvent.ACTION_DOWN的解决办法
- Android onTouchEvent的MotionEvent.ACTION_UP不响应
- Android onTouchEvent的MotionEvent.ACTION_UP不响应
- android中MotionEvent.ACTION_CANCEL事件是什么意思,如何触发
- Android onTouch 斜滑或者MotionEvent.ACTION_UP 不反应
- android MotionEvent getAction,getActionMasked,getActionIndex区别
- android MotionEvent getX getRawX getScrollX 的区别
- Android MotionEvent 坐标获取
- 关于MotionEvent.ACTION_UP无法被响应的问题
- 关于android的MotionEvent详细讲解
- Android MotionEvent 坐标获取