Android: onTouch not called?

You can use GestureDetector (Which is a better way to detect swipes) to detect swipes on your activities. Please find below link which shows how to implement it. The issue with your code which I feel is that apart from container control(LinearLayout in your case) you need to register the TouchListerner for all the controls also stackoverflow.com/questions/937313/andro....

You can use GestureDetector (Which is a better way to detect swipes) to detect swipes on your activities. Please find below link which shows how to implement it. The issue with your code which I feel is that apart from container control(LinearLayout in your case) you need to register the TouchListerner for all the controls also.

stackoverflow.com/questions/937313/andro....

Because my other screens are ok, just this.. i'll look into gesturedetector now.. thanks – Alvin Then Aug 5 '10 at 0:20 Yup...you have to....I faced a similar issue and adding touchlisteners sorted it out. – Amit Chintawar Aug 5 '10 at 7:19.

Does anyone know why my logs indicate that onTouch(View, MotionEvent) does not get called. I can see that onTouchEvent(MotionEvent event) is being called. Both are overridden in Activity which implements View.OnTouchEvent.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions