I have a task to create a SeekBar looking like this:
My question is: How to segment the seekbar like that? I have made custom seekbars before, but I don't know how to segment the bar like that, with lines extending beyond the seekbar's height.
I have stumbled across a library, the ComboSeekBar, but it doesn't help much.
Thanks in advance to anyone willing to help!
Cheers!
I already see two ways to do it
Using background Drawable
Create and choose your seekbar drawable using setBackgroundDrawable()
.
Use third-party libraries:
RangeSliderView: (min. SDK API 14):
https://github.com/channguyen/range-slider-view
RangeSeekbar:
https://github.com/dolphinwang/RangeSeekbar
RangeBar:
https://github.com/edmodo/range-bar
Check also this unfinished project: https://github.com/feelinglucky/RadioSeekBar
Hope it help
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With