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.

2 Answers
2

If you don't want the TouchListener to consume events on certain views, you need to make sure that you return false for those specific cases in your onTouchEvent implementation. Returning true at any point will consume the event and not allow other actions to be performed based on it.

However, when returning false, the ACTION_DOWN won't trigger anymore. Any way around that?
–
lhunathMay 8 '13 at 13:54

ACTION_DOWN will always trigger, it's subsequent events that won't come through without a view or listener returning true. You either design the listener to consume events or pass them through...not both.
–
DevunwiredMay 10 '13 at 2:14