title: android seekbar progressdrawable: background bitmap doesnt stretch (height)
body: <p>My layout xml is as follows:</p>
  
  <pre><code> &lt;SeekBar
          android:id="@+id/progress"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_centerVertical="true"
          android:layout_margin="10dp"
          android:gravity="center"
          android:progressDrawable="@drawable/progressbar_drawable"
          android:progress="50"
          android:thumb="@drawable/progressbar_handle_selector"
          android:layout_toLeftOf="@+id/showChat"
          android:layout_toRightOf="@+id/play" /&gt;
  </code></pre>
  
  <p>Seekbar's progress drawable is as follows:</p>
  
  <p>@drawable/progressbar_drawable </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:drawable="@drawable/bg_progressbar_9patch"/&gt;
    &lt;item android:id="@android:id/progress"&gt;
      &lt;clip&gt;
          &lt;shape&gt;
              &lt;gradient
                  android:angle="90"
                  android:endColor="#d9b546"
                  android:startColor="#cc520f" /&gt;
          &lt;/shape&gt;
      &lt;/clip&gt;
    &lt;/item&gt;
  
    &lt;/layer-list&gt;
  </code></pre>
  
  <p>As a result, background bitmap (white one) doesnt stretch in height and remains too low as compared to progress drawable (orange one), here is an example:
  <img src="https://i.stack.imgur.com/jcu23.jpg" alt="enter image description here"></p>
  
  <p>What is more, it looks different on different screens: background bitmap has different height as compared to progress drawable. For example (another screen):</p>
  
  <p><img src="https://i.stack.imgur.com/Cweoh.jpg" alt="enter image description here"></p>
  
  <p><strong>My question is: why aren't progress and background drawables (orange and white stripes) always of same height and what to do to make them of the same height?</strong></p>
  
  <hr>
  
  <p>UPDATE</p>
  
  <p>Png resources:</p>
  
  <p><img src="https://i.stack.imgur.com/wAPZp.png" alt="enter image description here">
  <img src="https://i.stack.imgur.com/q8TzB.png" alt="enter image description here"></p>