I've looked at MotionEvents on two different phones (the Nexus 1 and the Sprint EVO 4G). Using just the ordinary Hello Android view (i.e. attaching the touch listener to the Linear Layout), I find experimentally I get two different "ranges" for the two phones: the Evo 4G is X: 10 - 470, Y:-60 - 760; the Nexus 1 is X: -20 - 500, and Y: -80 - 760.
Needless to say, having different (negative) origins for different phones is a little confusing. How do I adjust for this, or determine it programmatically? (I would like to be able to determine when an motion event is near, but not at, the edge of the screen.) Thanks, Nick. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

