I implemented OnTouchEvent ( I need to react on Action.MOVE and Action.Up ) and OnClick, but it never enter in OnClick. OnTouch steals evemt. How to solve this ? I need on touch because Actoion.Up and Action.Move. I have added clickable, focusable and focusableInTouchMode to true.
Share
If you don’t want the
TouchListenerto consume events on certain views, you need to make sure that you returnfalsefor those specific cases in youronTouchEventimplementation. Returningtrueat any point will consume the event and not allow other actions to be performed based on it.HTH