title: How can i change the color of seekbar
body: <p>I need a seek bar  which color need this</p>
  
  <p><img src="https://i.stack.imgur.com/8XysS.png" alt="enter image description here"></p>
  
  <p>I made an xml file in drawable and its gradient is set below</p>
  
  <pre><code> &lt;layer-list xmlns:android="http://schemas.android.com/apk/res/android" &gt;
  
   &lt;item android:id="@android:id/background"&gt;
       &lt;shape&gt;
          &lt;corners android:radius="5dip" /&gt;
  
          &lt;gradient
              android:angle="270"
              android:centerColor="#808080"
              android:centerY="0.75"
              android:endColor="#808080"
              android:startColor="#808080" /&gt;
      &lt;/shape&gt;
  &lt;/item&gt;
  &lt;item android:id="@android:id/secondaryProgress"&gt;
      &lt;clip&gt;
          &lt;shape&gt;
              &lt;corners android:radius="2dip" /&gt;
  
              &lt;gradient
                  android:angle="270"
                  android:centerColor="#09488D"
                  android:centerY="0.75"
                  android:endColor="#09488D"
                  android:startColor="#09488D" /&gt;
          &lt;/shape&gt;
      &lt;/clip&gt;
  &lt;/item&gt;
  &lt;item android:id="@android:id/progress"&gt;
      &lt;clip&gt;
          &lt;shape&gt;
              &lt;corners android:radius="5dip" /&gt;
  
              &lt;gradient
                  android:angle="270"
                  android:centerColor="#09488D"
                  android:centerY="0.75"
                  android:endColor="#09488D"
                  android:startColor="#09488D" /&gt;
          &lt;/shape&gt;
      &lt;/clip&gt;
   &lt;/item&gt;
  
  &lt;/layer-list&gt;
  </code></pre>
  
  <p>Then this xml use it in seekbar's background
  But the color does not change :(</p>