title: Android onClick on Linear Layout
body: <p>I have following code:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;    
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@+id/list_item"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:layout_margin="10dp"
      android:orientation="horizontal"
      android:clickable="true"
      android:onClick="openGithubUrl"&gt;
  
      &lt;ImageView
          android:layout_width="100dp"
          android:layout_height="100dp"
          android:src="@mipmap/github_icon"/&gt;
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:orientation="vertical"&gt;
  
          &lt;TextView
              android:id="@+id/github_name"
              android:layout_width="match_parent"
              android:layout_height="wrap_content" /&gt;
          &lt;TextView
              android:id="@+id/github_url"
              android:layout_width="match_parent"
              android:layout_height="wrap_content" /&gt;
  
      &lt;/LinearLayout&gt;
  
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>I want to add a onCLick listener on LinearLayout(@+id/list-item). Is this possible? After the onClick fired I would like to get the content of the child Textview @+id/github_url. </p>