Tuesday, July 5, 2011

[android-developers] Translated coordinate by y when touching on a view

Hi, what's the problem with coordinates on Android, I draw point on
220,400 (240*400), then touch on screen, touch event return point of
220,380, where are 20 pixels?

When I touch on the right-top, its OK, point 240,0.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment