title: Separator between ListView and TextView on Android
body: <p>As you can see in image below, under the ListView appear a black line before the TextView (footer).</p>
  
  <p><img src="https://i.stack.imgur.com/3A28n.png" alt="enter image description here"></p>
  
  <p>I'm not able to understand if it's due a bottom padding of the listview or a top padding of the textview, so I've tried manipulating the xml layout adding android:layout_marginBottom="0px" and android:paddingBottom="0px" into the listview and android:paddingTop="0px" and android:layout_marginTop="0px" into the textview but nothing works!</p>
  
  <p>Please help me because I've no idea how to solve the problem!!!</p>
  
  <p>Here the xmls of the layout...</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
       android:orientation="vertical"
       android:layout_width="fill_parent"
       android:layout_height="fill_parent"&gt;
   &lt;TextView
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:text="@string/header"
      android:id="@+id/header"
      android:gravity="center"
      android:textSize="22sp"
      android:background="#777777"
  /&gt;
  &lt;ListView
      android:layout_height="wrap_content"
      android:layout_width="fill_parent"
      android:id="@+id/items_list"
      android:divider="#00000000"
      android:dividerHeight="0px"
      android:footerDividersEnabled="false"
      android:layout_marginBottom="0px"
      android:paddingBottom="0px"
  /&gt;      
  &lt;TextView 
      android:paddingTop="0px"
      android:layout_marginTop="0px"
      android:layout_width="fill_parent"
      android:layout_height="wrap_content" 
      android:text="@string/footer" 
      android:gravity="center" android:textSize="22sp"
      android:background="#777777/&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>And here the layout of the item into the listview</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout 
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:orientation="vertical" 
      android:layout_width="fill_parent"
      android:layout_height="fill_parent" 
      android:paddingBottom="0px"
      android:layout_marginBottom="0px"
      android:background="#777777"&gt;
  
      &lt;TextView 
          android:layout_width="fill_parent" 
          android:text="Item List"
          android:layout_height="wrap_content" 
          android:id="@+id/item"
          android:textSize="22sp" 
      /&gt;
      &lt;TextView 
          android:layout_width="fill_parent" 
          android:text="List Item bottom"
          android:layout_height="wrap_content" 
          android:id="@+id/item2"
          android:textSize="14sp" 
          android:layout_below="@id/item"
          android:layout_alignParentBottom="true" 
      /&gt;
      &lt;TextView 
          android:layout_width="wrap_content" 
          android:text="List Item right"
          android:layout_height="wrap_content" 
          android:id="@+id/item3"
          android:textSize="16sp" 
          android:layout_alignParentRight="true"
          android:layout_centerVertical="true" 
        /&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>