title: Layer-List with items having top/bottom properties
body: <p>I am trying to customize the view of the SeekBar as follows:</p>
  
  <pre><code>&lt;SeekBar
      android:id="@id/seek_bar_player"
      android:layout_width="match_parent"
      android:layout_height="6pt"
      android:paddingLeft="0pt"
      android:paddingRight="0pt"
      android:paddingStart="0pt"
      android:paddingEnd="0pt"
      android:layout_marginBottom="-2pt"
      android:layout_above="@id/player_container"
      android:progressDrawable="@drawable/seekbar_progress"
      android:thumb="@drawable/seekbar_thumb"
      android:padding="0pt"
      /&gt;
  </code></pre>
  
  <p>The content of seekbar_progress.xml is,</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
          android:id="@android:id/background"
          android:bottom="2pt"
          android:top="2pt"&gt;
          &lt;color android:color="@color/seekbarBackground" /&gt;
      &lt;/item&gt;
  
      &lt;item
          android:id="@android:id/progress"
          android:bottom="2pt"
          android:top="2pt"&gt;
          &lt;clip&gt;
              &lt;color android:color="@color/seekbarProgressBackground" /&gt;
          &lt;/clip&gt;
      &lt;/item&gt;
  &lt;/layer-list&gt;
  </code></pre>
  
  <p>and the content of the seekbar_thumb.xml is,</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
          android:width="2pt"
          android:height="6pt"&gt;
          &lt;color android:color="@android:color/holo_red_dark" /&gt;
      &lt;/item&gt;
  &lt;/layer-list&gt;
  </code></pre>
  
  <p>This results in the desired outcome on API 25 virtual device as:
  <a href="https://i.stack.imgur.com/S0FTW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/S0FTW.png" alt="enter image description here"></a></p>
  
  <p>However, its outcome on a Levovo Vibe C with Android 5.1.1 (API Level 22) is weird:
  <a href="https://i.stack.imgur.com/G72KF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/G72KF.png" alt="enter image description here"></a></p>
  
  <p>What may be the reason of this? Any suggestion is highly appreciated.</p>