title: Android custom SeekBar with two values
body: <p>I need to create a custom SeekBar, which can show two different values. My idea is, that dragging the thumb will change background color of whole seek bar (first value) and there will also be a white horizontal line, which will show the second value. </p>
  
  <p><img src="https://i.stack.imgur.com/mvsXR.png" alt="Custom Seekbar"></p>
  
  <p>Can you help me achieve this?</p>
  
  <p>One of my thoughts was to use</p>
  
  <pre><code>mySeekBar.setProgressDrawable(dynamicalyCreatedDrawable);
  </code></pre>
  
  <p>but I hope there should be a better solution. If there is not, can you at least point me, how to dynamicaly draw an image/drawable to use it like this?</p>