title: ListView dividers on top and bottom of the ListView Item
body: <p>I am using  Android Listview and and I want a 1px divider on both the side of the listview item means on the top and bottom of two different colours. But the problem is that I am not getting login for showing divider in bottom. I tried <code>android:layout_below</code> but it is shown as invalid.</p>
  
  <p>This is the Listview code</p>
  
  <pre><code>&lt;ListView
          android:id="@+id/myphnview"
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:layout_below="@drawable/dividerheight"
          android:background="#E9EAEC"
          android:clickable="true"
          android:divider="@drawable/dividerheight" &gt;
      &lt;/ListView&gt;
  </code></pre>
  
  <p>This is the xml file I am using for top border. dividerheight.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;layer-list xmlns:android="http://schemas.android.com/apk/res/android" &gt;
  
      &lt;item&gt;
          &lt;shape android:shape="line" &gt;
              &lt;stroke android:color="#c6c7c9" /&gt;
  
              &lt;size android:height="1px" /&gt;
          &lt;/shape&gt;
      &lt;/item&gt;
  
  
  &lt;/layer-list&gt;
  </code></pre>
  
  <p>This is the layout of my row</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@+id/rowlayout"
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:background="#E9EAEC"
      android:orientation="horizontal" &gt;
  
      &lt;LinearLayout
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:layout_weight="2" &gt;
  
          &lt;ImageView
              android:id="@+id/icon"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_margin="5dp" 
              android:background="@drawable/ic_launcher"/&gt;
      &lt;/LinearLayout&gt;
  
      &lt;LinearLayout
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:layout_marginTop="10dp"
          android:layout_weight="1" &gt;
  
          &lt;TextView
              android:id="@+id/file_name"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"
              android:layout_gravity="left"
              android:layout_margin="5dp"
              android:text="Hello Android "
              android:textColor="@android:color/black"
              android:textSize="20dp" &gt;
          &lt;/TextView&gt;
      &lt;/LinearLayout&gt;
  
      &lt;LinearLayout
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_margin="5dp" &gt;
  
          &lt;ImageView
              android:id="@+id/share_button"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_gravity="left"
              android:background="@drawable/ic_launcher"/&gt;
      &lt;/LinearLayout&gt;
  
  
  
  &lt;/LinearLayout&gt;
  </code></pre>