title: Prevent Click-through of Android ImageVIew?
body: <p>I have an <code>ImageView</code> overlay inside of a <code>RelativeLayout</code> and want to prevent any clicks from going through the <code>ImageView</code> to the Buttons etc that are behind it (thus in effect disabling the entire <code>RelativeLayout</code>).</p>
  
  <p>Is the a simpler way of doing this then iterating the RelativeLayout views and setting them to disabled as I currently am doing using this code:</p>
  
  <pre><code>RelativeLayout rlTest = (RelativeLayout ) findViewById(R.id.rlTest);
  for (int i = 0; i &lt; rlTest.getChildCount(); i++) {
         View view = rlTest.getChildAt(i);
         view.setEnabled(true);
  }
  </code></pre>