title: android listview item's border
body: <p>good day.
  today i was encounted this next problem:
  i have listview:</p>
  
  <pre><code> &lt;ListView
          tools:listitem="@layout/list_view_item"
          android:listSelector="@android:color/transparent"
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"
          android:layout_weight="1"
          android:dividerHeight="0dp"
          android:divider="@color/transparent"
          android:cacheColorHint="@color/transparent"
          android:id="@+id/items"/&gt;
  </code></pre>
  
  <p>where list_view_item is:</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
                xmlns:tools="http://schemas.android.com/tools"
                android:orientation="vertical"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:background="@drawable/listview_item_background"&gt;
      ...
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>and listview_item_background next:</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="rectangle"&gt;
              &lt;solid android:color="@color/black" /&gt;
              &lt;padding
                  android:right="1dp"
                  android:top="1dp"
                  android:bottom="1dp"
                  android:left="1dp"/&gt;
          &lt;/shape&gt;
      &lt;/item&gt;
      &lt;item&gt;
          &lt;shape android:shape="rectangle"&gt;
              &lt;solid android:color="@color/green"/&gt;
          &lt;/shape&gt;
      &lt;/item&gt;
  &lt;/layer-list&gt;
  </code></pre>
  
  <p>now then i run my app i see next:</p>
  
  <p>as you can see between adjacent items horizontal border are same with vertical border, but i was expected double-bordered 
  <img src="https://i.stack.imgur.com/nlJgW.png" alt="enter image description here"></p>
  
  <p>then i try to set listview divider to 1dp. as expected i have three-bordered result
  <img src="https://i.stack.imgur.com/ujGN2.png" alt="enter image description here"></p>
  
  <p>then i test my background drawable not in listview, but simple three linearlayout. i have expected result with double-border...</p>
  
  <pre><code>&lt;LinearLayout
          android:orientation="vertical"
          android:padding="10dp"
          android:layout_width="100dp"
          android:layout_height="100dp"&gt;
      &lt;View
              android:layout_width="50dp"
              android:layout_height="25dp"
              android:background="@drawable/listview_item_background"/&gt;
      &lt;View
              android:layout_width="50dp"
              android:layout_height="25dp"
              android:background="@drawable/listview_item_background"/&gt;
      &lt;View
              android:layout_width="50dp"
              android:layout_height="25dp"
              android:background="@drawable/listview_item_background"/&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/OhwM5.png" alt="enter image description here"></p>
  
  <p>but in listview i still have one border. 
  how i can create listview with horizontal double-border on adjacent item?</p>