title: Top and bottom dividers not showing in Android listview
body: <p>The way I understand it, the divider defined for a listview should appear at the top and bottom of the list too, i.e. above the first item and under the last item.</p>
  
  <p>For some reason they don't appear in my 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:id="@+id/mainLayout"
  android:layout_width="fill_parent" 
  android:layout_height="fill_parent" 
  android:background="@drawable/background"&gt;
  
  &lt;ImageView
      android:id="@+id/home"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:paddingLeft="3dp"
      android:paddingTop="3dp"
      android:paddingBottom="3dp"
      android:src="@drawable/homeicon"/&gt;
  
  &lt;TextView
      android:id="@+id/titleBar"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="Page Title" 
      android:layout_marginLeft="10dp" 
      android:paddingTop="3dp"
      android:textSize="18sp" 
      android:textStyle="bold" 
      android:typeface="serif" 
      android:textColor="#FFFFFF"
      android:layout_centerHorizontal="true"/&gt;
  
  &lt;ImageView
      android:id="@+id/back"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:paddingRight="8dp"
      android:paddingTop="8dp"
      android:src="@drawable/backicon" 
      android:layout_alignParentRight="true"/&gt;
  
  
  &lt;ImageView
      android:id="@+id/separator1"
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:layout_below="@+id/home"
      android:scaleType="fitXY"
      android:src="@drawable/separatorimg" /&gt;
  
  
  &lt;ListView
      android:id="@android:id/android:list" 
      android:layout_below="@+id/separator1"
      android:layout_width="fill_parent" 
      android:layout_height="wrap_content" 
      android:cacheColorHint="#00000000"
      android:divider="@drawable/separatorimg"&gt;
  &lt;/ListView&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>Setting android:footerDividersEnabled to true (which is the answer given in other questions around that matter) doesn't change anything. Also I have no disabled items, unless there is somehow a default footer that would be disabled.</p>
  
  <p>Any ideas?</p>
  
  <p>Edit: It seems the divider at the top and bottom dividers appear for a split second when I scroll past the first/last item, and then disappears. It looks as if interface was going to continue, only later to realize that was the last item and then disable the divider.</p>