title: Linear Layout OnClick Listener not working
body: <p>Hi i have LinearLayout with horizontal orientation has two childrens as follows</p>
  
  <pre><code>&lt;LinearLayout
              android:id="@+id/clearAll"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_alignParentRight="true"
              android:layout_below="@id/parent"
              android:layout_marginBottom="0dp"
              android:layout_marginRight="16dp"
              android:gravity="center_vertical"
              android:orientation="horizontal"&gt;
  
              &lt;ImageView
                  android:layout_width="15dp"
                  android:layout_height="15dp"
                  android:layout_gravity="center_vertical"
                  android:background="@drawable/clear_all_bg"
                  android:padding="3dp"
                  android:src="@drawable/ic_close_white" /&gt;
  
              &lt;TextView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_gravity="center_vertical"
                  android:layout_weight="1"
                  android:gravity="center"
                  android:paddingLeft="5dp"
                  android:text="Clear"
                  android:textColor="@android:color/holo_red_light"
                  android:textSize="@dimen/font_size_micro"
                  android:textStyle="normal" /&gt;
          &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>At run time i have set OnClickListner for LinearLayout like this</p>
  
  <pre><code>clearAll = (LinearLayout) findViewById(R.id.clearAll);
      clearAll.setOnClickListener(new View.OnClickListener() {
          @Override
          public void onClick(View v) {
              Log.i(TAG, "clearAll Click");
          }
      });
  </code></pre>
  
  <p>I tried with </p>
  
  <pre><code>android:duplicateParentState="true"
  </code></pre>
  
  <p>and </p>
  
  <pre><code>android:clickable="true"
  </code></pre>
  
  <p>but no use listener is not triggered</p>