阅读背景:

Android onTouchEvent MotionEvent中的坐标是如何构建的?

来源:互联网 

I'm wondering what are the origin point, i.e. (0, 0), of the coordinates in a MotionEvent when you touch or move across the screen in Android? I know getRawX() and getRawY() get the overall screen coordinates. But I'd like to know the origin point for getX() and getY().I'm wondering what are the origin point, i.e. (




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: