title: Analogue of android:filterTouchesWhenObscured for API level below 9
body: <p>Starting with API level 9, there's <code>android:filterTouchesWhenObscured</code> attribute and corresponding <code>setFilterTouchesWhenObscured</code> method on <code>ViewGroup</code>.  For example, when a view has <code>onClickListener</code> set and another view obscures that view (e.g. an overlay panel, a toast, or anything else), then touches will not be passed to the obscured view - in my example, <code>onClick</code> will not be fired.</p>
  
  <p>However, this is not available in API level 7 - and for my project the requirement is Android 2.1 and above, which means I have to work with level 7.</p>
  
  <p>Is there an easy way around it?  In level 7, this property is essentially hard-coded to FALSE.  As a result, I get this strange behavior: on a view, I have a button.  When pressed, another view slides into place, covering the view with the button.  On this view, there's its own button, but it doesn't match the location of the button underneath.  Therefore if the user touches the overlay panel in the location where the button underneath is, the <code>onClick</code> of that button is fired again - not what I want/need.</p>
  
  <p>What can I do to prevent <code>onClick</code> firing in this case?  Thanks.</p>