Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以获得 View 位置,但坐标与 MotionEvent.getRawX()/MotionEvent.getRawY() 在同一坐标系中吗?
View.getLocationOnScreen()应该做的伎俩。
View.getLocationOnScreen()