How to set gesture event in android in text view

I am trying to set a gesture event in a text view. I want to access from left to right and from right to left in text mode. same as sensory event. I have a text view and I want to set an event on it. I also tried this example, but did not work on the text view. can someone help me.

+4
source share
1 answer

Try creating a View on the screen and implementing TouchListener.

0
source

Source: https://habr.com/ru/post/1369280/


All Articles