title: Android How to consume all the touchevent by te LinearLayout
body: <p>I have a layout like that.</p>
  
  <pre><code>&lt;RelativeLayout
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"
          ....&gt;
          &lt;LinearLayout
          android:id="@+id/box1"
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"&gt;
             ...............
             ..............
          &lt;/LinearLayout&gt;
          &lt;LinearLayout
          android:id="@+id/box2"
          android:background="#c0000000"
          android:layout_width="fill_parent"
          android:layout_height="fill_parent" &gt;
             .............
             .............
          &lt;/LinearLayout&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>Box2 is showing above Box1, and due to semi-transparent color of Box2, Box1 is visible partially. Now I want to make consume all the touch event by box2, so that the <code>Button</code>s and <code>EditText</code>s in Box2 does not work. How it can be done by java code?</p>