S
S
svd71_12013-11-19 19:14:06
Android
svd71_1, 2013-11-19 19:14:06

How to detect screen touches in Android?

Actually how to do it right?
I found the root layout on the activity as a view and hung an heir on it with OnTouchListener with the onTouch() method. It fires, but only on ACTION_DOWN. And I wanted to intercept other events in order to display the line on the screen.
What am I doing wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
svd71_1, 2013-11-19
@svd71_1

Thanks to all. Understood.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question