How to identify the touch screen in Android?
Actually how to do it right?
Found root layout in activity as view and hang it from the OnTouchListener of the heir with the method onTouch(). It works, but only on ACTION_DOWN. But I wanted to catch other events to display the line on the screen.
What are you doing wrong?
1 answer
Thank you all. Understood.
Find more questions by tags Android