Seek bar is a UI control analogous to a slider. In Android, it is an extension of ProgressBar with a draggable thumb.
Questions tagged [seekbar]
1358 questions
94
votes
11 answers
Custom seekbar (thumb size, color and background)
I would like to have this seekbar in my Android project :
This is my seekbar :
user6299584
88
votes
19 answers
How to make a vertical SeekBar in Android?
Can a SeekBar be vertical? I am not very good at UI design, so how can I make the SeekBar more beautiful, please give me some templates and examples.

Chris
- 6,431
- 10
- 44
- 59
86
votes
13 answers
Android SeekBar Minimum Value
How to define a SeekBar's minimum value? Is this done in the XML layout or do I need to define it programatically?
Basically I need to change my minimum value from 0 to 0.2

Sachin
- 2,667
- 9
- 35
- 39
57
votes
5 answers
Android Seekbar with two thumbs
Variations of this question can be found all over the internet but not an answer.
I want a seekbar with two-thumb range selection. I'm willing to program this myself but I lack experience with Android. Could someone give me some pointers on where to…

SeeDoubleYou
- 1,253
- 2
- 15
- 25
54
votes
9 answers
How can I get a working vertical SeekBar in Android?
I've implemented the commonly-pointed-to VerticalSeekBar post here. As it is, the SeekBar operates a little quirky. Here is my slightly adapted onTouchEvent() from that example:
public boolean onTouchEvent(MotionEvent event)
{
xPos =…

Snailer
- 3,777
- 3
- 35
- 46
50
votes
15 answers
How to set seekbar min and max value
I have a seekbar and trying to set the value from 60 to 180 for one and 40 to 190 for the second one in step of 1.
sb1 = (SeekBar) findViewById(R.id.progresss);
sb1.setOnSeekBarChangeListener(new OnSeekBarChangeListener() {
…

Si8
- 9,141
- 22
- 109
- 221
46
votes
6 answers
Android SeekBar setOnSeekBarChangeListener
I'm wondering about the behavior of the android SeekBars OnSeekBarChangeListener. In particular, is the onProgressChanged-method notified only for the first and the last touch on the seekbar?
I'm trying to refresh a TextView that should show the…

user1162729
- 491
- 1
- 5
- 8
45
votes
6 answers
Android - How to change default SeekBar thickness?
I have this SeekBar:

Joe Rakhimov
- 4,713
- 9
- 51
- 109
42
votes
7 answers
Using SeekBar to Control Volume in android?
How can I accurately change the volume of my app using a seekbar without controlling the volume by the volume buttons on my android device? I have seperate function on the Volume keys on my android that's why I want to use a seekbar to control the…

Niel Prince
- 475
- 1
- 5
- 9
41
votes
4 answers
how to fix seekbar-bar-thumb-centering-issues
I have set thumb image of a seek bar but my thumb looks little below of seek bar. How to set thumb at proper position of a seekbar. Have a look on the attached image
user831722
37
votes
6 answers
how to limit seekbar
I'd like to set max and minimum limits of SeekBar to 50 and 20 respectively.
SeekBar has a direct option top provide max value, but how to set its minimum value to 20 rather than 0?

Shishir.bobby
- 10,994
- 21
- 71
- 100
33
votes
5 answers
How to display some value on seekbar as default?
I have a seekbar for example: from 0 to 10. How can I make if I want to set seekbar to 5 as default position. So in this example seekbar should start from middle.

Adam
- 2,152
- 4
- 35
- 45
33
votes
6 answers
Disable changes on seekbar by client
I have a SeekBar that will change the progress when I require it to, but I don't want the user to be able to change it manually.
I tried to set the SeekBar as this:

Shudy
- 7,806
- 19
- 63
- 98
32
votes
10 answers
Android SeekBar set progress value
I want the SeekBar progress to change whenever I click a button. Using setProgress() works only for initial value. It throws an error if I use it after some changes.

shiva
- 463
- 2
- 7
- 9
31
votes
7 answers
Discrete seekbar in Android app?
I would like to create a seekbar for an Android app that allows the user to select a value between -5 and 5 (which maps to "strongly disagree" and "strongly agree"). How do I make a seekbar with discrete values? or is there a better UI widget I…

vee
- 311
- 1
- 3
- 3