Reputation: 1250
Could I get View position but with coordinates in the same coordinate system as MotionEvent.getRawX()/MotionEvent.getRawY()?
Upvotes: 1
Views: 1017
Reputation: 2481
View.getLocationOnScreen() should do the trick.
View.getLocationOnScreen()
Upvotes: 3