I have an EditText which I have created a screen keyboard so I have deactivated the system keyboard. But the method I have underlines everything in yellow and gives me the following warning:
Custom view has setOnTouchListener called on it but does not override performClick If a View that overrides onTouchEvent or uses an OnTouchListener does not also implement performClick and call it when clicks are detected, the View may not handle accessibility actions properly. Logic handling the click actions should ideally be placed in View#performClick as some accessibility services invoke performClick when a click action should occur.
I know I could easily get rid of this error using the @SuppressLint("ClickableViewAccessibility")
tag but I don't want to do it this way, I want to fix the warning in a more correct way, solutions?