title: Put a Linearlayout under the ListView
body: <p>I'm facing problem to put a linearlayout under the listview like what is shown in this image link:</p>
  
  <p><a href="https://i.stack.imgur.com/o3mAAm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/o3mAAm.png" alt="enter image description here"></a></p>
  
  <p>I want the layout with the Add icon and text:"Add New Members" to be displayed under the listview. What am I doing wrong? Pls help me to solve the problem. Thank you very much.</p>
  
  <p>This is the xml file for the layout</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:app="http://schemas.android.com/apk/res-auto"
  xmlns:tools="http://schemas.android.com/tools"
  android:orientation="vertical"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:paddingBottom="@dimen/activity_vertical_margin"
  android:paddingLeft="@dimen/activity_horizontal_margin"
  android:paddingRight="@dimen/activity_horizontal_margin"
  android:paddingTop="@dimen/activity_vertical_margin"
  tools:context="com.thomasbrown.myapplication.MemberActivity"
  android:background="@android:color/white"&gt;
  
  &lt;TextView
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:id="@+id/groupID"
      android:textSize="20sp"
      android:layout_marginBottom="15dp" /&gt;
  
  &lt;LinearLayout
      android:orientation="vertical"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:layout_weight="1"&gt;
  
      &lt;ListView
          android:id="@+id/ListView1"
          android:layout_width="match_parent"
          android:layout_height="0dp"
          android:layout_alignParentLeft="true"
          android:layout_alignParentTop="true"
          android:background="@android:color/white"
          android:layout_weight="1" /&gt;
  
      &lt;LinearLayout
          android:orientation="horizontal"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"&gt;
  
          &lt;ImageView
              app:srcCompat="@drawable/add"
              android:id="@+id/imageView2"
              android:layout_alignParentLeft="true"
              android:layout_alignParentTop="true"
              android:layout_width="80dp"
              android:layout_height="60dp"
              android:layout_weight="1" /&gt;
  
          &lt;TextView
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:id="@+id/addMember"
                  android:text="Add New Members"
                  android:textSize="18sp"
                  android:textColor="@android:color/holo_red_dark"
              android:layout_weight="1"
              android:layout_gravity="center_vertical" /&gt;
      &lt;/LinearLayout&gt;
  
  &lt;/LinearLayout&gt;
  
  
  &lt;Button
      android:text="Leave this group"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:id="@+id/leaveGroupButton"
      android:background="@color/colorPrimary"
      android:layout_gravity="bottom|end" /&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>