Hi All,

I have viewgroup that extends LinearLayout but i cant able to add onclick
events to the child elements. Its only accessing ontouch event.

I used dispatchTouchEvent(MotionEvent e) to touch event and i returned true.

I tried onInterceptTouchEvent(MotionEvent ev) to stop touch event.
eventhough i cant able to add onclick event.


How to add click event on ViewGroup child elements. can we able add onclick
and ontouch event for viewgroup?


Thanks in advance

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to