title: LinearLayout with blank space at the bottom
body: <p>I am using LinearLayout horizontal to load view from the adapter. Though I am using wrap_content and views within the layout are aligned to top. And there is a blank space below the linearLayout. Is this is a bug or what am I doing wrong. Please do check the attached <a href="https://i.stack.imgur.com/x0HbD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/x0HbD.png" alt="screenshot"></a>        </p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:orientation="horizontal"
          android:clickable="true"
          android:background="@drawable/recycler_selector"&gt;
  
          &lt;de.hdodenhof.circleimageview.CircleImageView
              android:layout_width="0dp"
              android:layout_weight="1"
              android:layout_height="50dp"
              android:id="@+id/group_chat_photo" /&gt;
  
          &lt;RelativeLayout
              android:layout_width="0dp"
              android:layout_weight="5"
              android:paddingStart="5dp"
              android:paddingEnd="5dp"
              android:layout_height="wrap_content"&gt;
  
              &lt;TextView
                  android:layout_width="wrap_content"
                  android:layout_alignParentTop="true"
                  android:layout_alignParentStart="true"
                  android:layout_height="wrap_content"
                  style="@style/ListTitleTextStyle"
                  android:id="@+id/group_name" /&gt;
  
              &lt;TextView
                  android:layout_width="wrap_content"
                  android:padding="5dp"
                  android:layout_toStartOf="@id/group_name"
                  android:layout_height="wrap_content"
                  android:id="@+id/num_of_group_users"
                  style="@style/PresenceTextStyle"
                  android:layout_toEndOf="@id/group_name"/&gt;
  
              &lt;TextView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  style="@style/SubTitleTextStyle"
                  android:layout_below="@id/group_name"
                  android:id="@+id/group_members_presence"/&gt;
  
          &lt;/RelativeLayout&gt;
  
          &lt;ImageView
              android:layout_width="0dp"
              android:layout_weight="1"
              android:layout_height="wrap_content"
              android:src="@drawable/ic_dots_vertical_grey600_24dp"
              android:contentDescription="@string/group_chat_options"
              android:id="@+id/group_chat_options"/&gt;
  
  
      &lt;/LinearLayout&gt;
  </code></pre>