MotionEvent Issues

前端 未结 2 2024
礼貌的吻别
礼貌的吻别 2021-01-07 09:21

I was wondering how to get accurate, get(x) and get(y) values for a MotionEvent? What is happening is that when I touch a specific area on the screen, I tell an action to ha

2条回答
  •  情话喂你
    2021-01-07 09:56

    You should use ‘motionEvent.getPoinerCount()‘ to check the number of touch points.

提交回复
热议问题