Find if a touch is inside a view in Android
<p>I have a image and a textView below the image which is the title for the image. When i touch the text i want to change the state of the image to selected. I capture the touch up and touch down events to change the state of image to selected and unselected respectively. </p>

<p>I want to implement touch cancel i.e. if i touch inside the textView and drag outside and remove my finger the image state should be set to unselected. How do i know if a touch lies within a view. </p>

<p>My application target level is 7.</p>
