title: Listview divider margin
body: <p>I'm trying to set a margin to a <code>listview</code> divider.<br>
  The divider is a dashed line:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;shape xmlns:android="http://schemas.android.com/apk/res/android"
      android:shape="line" &gt;
      &lt;stroke
          android:dashGap="1dp"
          android:dashWidth="1.5dp"
          android:width="1dp"
          android:color="#FF404040" /&gt;
  
      &lt;size android:height="3dp" /&gt;
  
  &lt;/shape&gt;
  </code></pre>
  
  <hr>
  
  <p>and a <code>listview</code> where i set the divider </p>
  
  <pre><code>&lt;ListView
      android:id="@+id/lv_news_feed_list"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:background="@color/white"
      android:divider="@drawable/ch_dashed_line_divider"
      /&gt;
  </code></pre>
  
  <hr>
  
  <p>but I want a divider <strong>margin left and right</strong>. 
  I also tried to set a padding to the shape, but the <code>listview</code> is ignoring the padding.</p>
  
  <pre><code>    &lt;padding
          android:bottom="15dp"
          android:left="15dp"
          android:right="15dp"
          android:top="15dp" /&gt;
  </code></pre>
  
  <hr>
  
  <p>Is there any possibility to set a margin to the <code>listview</code> divider  - except in the getView() of the Adapter?</p>