Skip to content Skip to sidebar Skip to footer

How To Set Range Between Two Thumbs In Range Seek Bar In Android?

I am using the range seek bar in my app.It's working fine but my requirement is set the range between the two thumbs.In default both thumbs are overlapping each other in my case th

Solution 1:

For stopping the motion of thumbs when the difference is 4. You can use

if(diff==4) {
    bar.setEnabled(false);
}

For getting more clear go to our blog and see How to disable thumbs while dragging in RangedSeekBar section.

Post a Comment for "How To Set Range Between Two Thumbs In Range Seek Bar In Android?"