I have a list view with list item that has one CheckBox and two TextViews. I have set on touch listener to each of these widgets. Now when I do swipe to right the x co-ordinates are recorded correctly by the onTouch event listener. When I do swipe to left it shows negative value for x co-ordinate. Is this is a bug or I am missing something. My phone is motorola droid.
code ------------ public boolean onTouch(View v, MotionEvent event) { Log.d(TAG, "ListAdapter.onTouch x="+event.getX()); return false; } result ----------------- ListAdapter.onTouch x=1.4075205 ListAdapter.onTouch x=1.4075205 ListAdapter.onTouch x=20.879065 ListAdapter.onTouch x=120.67073 ListAdapter.onTouch x=222.89635 ListAdapter.onTouch x=349.94818 ListAdapter.onTouch x=472.1321 ListAdapter.onTouch x=472.1321 ListAdapter.onTouch x=337.22662 ListAdapter.onTouch x=322.623 ListAdapter.onTouch x=300.71747 ListAdapter.onTouch x=271.99695 ListAdapter.onTouch x=230.13315 ListAdapter.onTouch x=3.2896347 ListAdapter.onTouch x=-44.902443 ListAdapter.onTouch x=-75.08333 ListAdapter.onTouch x=-75.08333 -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en