Find if a touch is inside a view in Android
<p>I have an image and a <code>TextView</code> 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 <code>TextView</code> 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>
