Hi,

I implement a OnTouchListener on an ImageView.
On emulator when I use my mouse to retrieve getX, the result is still
a positif number.
On G1 the value is still negative doesn't seems correct....

For example, when I click with mouse on ImageView the getX() return
40...On G1 the same action (with touch) return -171!

I have to manage the slide on this ImageView and just a touch...

on ACTION_DOWN I keep the getX value in a variable.
on ACTION_MOVE i dispatch the action to the parent
on ACTION_UP I would like to do something on the ImageView

But with the issue, all is ok on emulator but not on real device.

Does somebody have information about this trouble?

Thx
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to