title: Discrete SeekBar
body: <p>I am trying to create a <a href="https://www.google.com/design/spec/components/sliders.html#sliders-discrete-slider" rel="noreferrer">discrete seek bar</a> for an Android app.</p>
  
  <p><a href="https://i.stack.imgur.com/lg9yD.png" rel="noreferrer"><img src="https://i.stack.imgur.com/lg9yD.png" alt="Example"></a></p>
  
  <p>I know I can set max and min values for a <code>SeekBar</code> (my ideal solution would be the <em>Click</em> example below) but I want the bar to move up and down the slider at particular intervals - every 10 in my case. So the only options available on the <code>SeekBar</code> would be;</p>
  
  <ul>
  <li>20</li>
  <li>30</li>
  <li>40</li>
  <li>50</li>
  <li>60</li>
  <li>70</li>
  </ul>
  
  <p>Is it possible to define specific values to a standard Android <code>SeekBar</code> or at least change the intervals between items. If not, then would it be possible with a custom seekbar? I have not found anything online which addresses this (not for Android at least - frustrating as its a recognised component in the Google Material design guidelines).</p>