Android中的事件分机制

1.主要发生的Touch事件有如下四种: MotionEvent.ACTION_DOWN:按下View(所有事件的开始) MotionEvent.ACTION_MOVE:滑动View MotionEvent.ACTION_CANCEL:非人为原因结束本次事件 MotionEvent.ACTION_UP:抬起View(与DOWN对应) 2.事件分发的本质 将点击事件(MotionEvent)向某个V
相关文章
相关标签/搜索