1 parent 2fdd769 commit 95245d5Copy full SHA for 95245d5
1 file changed
CustomView/Advance/[18]multi-touch.md
@@ -144,7 +144,7 @@ int action = event.getAction() & MotionEvent.ACTION_MASK;
144
这个非常简单,ACTION_MASK=0x000000ff, 与 getAction() 进行按位与操作后保留最后8位内容(十六进制每一个字符转化为二进制是4位)。
145
146
例如:
147
-0x000001**05** & 0x000000ff = 0x000000**01**
+0x000001**05** & 0x000000ff = 0x000000**05**
148
149
**取得事件索引(index)**
150
@@ -610,4 +610,4 @@ public class DragView extends CustomView {
610
611
612
613
-[motionevent]: http://www.gcssloop.com/customview/motionevent
+[motionevent]: http://www.gcssloop.com/customview/motionevent
0 commit comments