Re: [android-developers] Segregating touch events in an activity?

2011-02-04 Thread TreKing
On Thu, Feb 3, 2011 at 7:19 AM, Asim wrote: > Irrespective of which view is touched, only one seems to respond to the > touch event. For instance, if i touched view 2 or view 1, only view 1 > responds. > What are you returning in your onTouch method implementation? -

[android-developers] Segregating touch events in an activity?

2011-02-03 Thread Asim
Hey everyone, I have a problem i need help with. I have created two custom views in my activity. I would like to highlight (using an overloaded onDraw method) the view that is currently being touched. I have an onTouchListener tied to each view (the same touch listener is tied to both as the beha