Well, I know there are some questions regarding this warning, but i still cannot figure out how to get rid of this.
I don\'t want to implement the OnTouchListener
Your code is OK, if you are sure that your code works like you want, you can just disable this kind of warnings in: File -> Settings -> Editor -> Inspections -> Android -> Lint -> Accessibility -> Accessibility in Custom Views