views:

25

answers:

0

I have a scroll view that contains a linear layout. In the linear layout are the child linear layouts.

I would like to give the user some peace of mind that he is touching the right child.

I can put in an on click that highlights it to tell what he just clicked,

I can put an ontouch to highlight what he is about to click,,

But how do I tell when the user drags their finger out of the child (which starts the scrolling process)? I want to unhighlight it when that happens.

Buttons already have this functionality but I want to be able to put it on a layout (or a layout in a button if possible)