I am trying to create a [discrete seek bar](https://www.google.com/design/spec/components/sliders.html#sliders-discrete-slider) for an Android app.

[![Example](https://i.stack.imgur.com/lg9yD.png)](https://i.stack.imgur.com/lg9yD.png)

I know I can set max and min values for a `SeekBar` (my ideal solution would be the *Click* 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 `SeekBar` would be;

* 20
* 30
* 40
* 50
* 60
* 70

Is it possible to define specific values to a standard Android `SeekBar` 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).