What the easiest way to detect if user clicks outside a region within an Android Activity
<p>I have an activity with a header, list and footer.  I want to enable search option when user touches button in header and disable as soon as they touch anywhere else but the search TextEdit in the header to enter their search criteria. I know a way to do it but I am looking for easiest and most simple approach for this, as the search header shows up on several activities.</p>
