Questions tagged [android-seekbar]

A SeekBar is an extension of ProgressBar that adds a draggable thumb. The user can touch the thumb and drag left or right to set the current progress level or use the arrow keys.

A SeekBar is an extension of ProgressBar that adds a draggable thumb. The user can touch the thumb and drag left or right to set the current progress level or use the arrow keys.

Placing focusable widgets to the left or right of a SeekBar is discouraged.

Clients of the SeekBar can attach a SeekBar.OnSeekBarChangeListener to be notified of the user's actions.

Reference: http://developer.android.com/reference/android/widget/SeekBar.html

659 questions
264
votes
26 answers

Android - styling seek bar

I wanted to style a seek bar which looks like the one in the image below. By using default seekbar I will get something like this: So what I need is to only change the color. I need no extra styles. Is there any straight forward approach to do…
68
votes
13 answers

SeekBar and media player in android

I have a simple player and recorder. Everything works great but have one problem. I want to add seek bar to see progress in playing record and use this seek bar to set the place from the player should play. I have onProgress but with no effect. This…
edi233
  • 3,511
  • 13
  • 56
  • 97
59
votes
8 answers

Changing step values in seekbar?

I have a seekbar, while moving it I want to change values from 0 to 200. I have a TextView, where I display those values while moving the seekbar. But I don't want to have every value from that interval(0,1,2,3,4,5...), but to have 10, 20, 30...so…
lomza
  • 9,412
  • 15
  • 70
  • 85
48
votes
7 answers

Android SeekBar thumb gets clipped/cut off

When using a custom thumb drawable with a SeekBar view, the thumb drawable is clipped at the left and right edges of the view. How can I fix this behavior?
Jana
  • 2,890
  • 5
  • 35
  • 45
45
votes
6 answers

Android - How to change default SeekBar thickness?

I have this SeekBar:
Joe Rakhimov
  • 4,713
  • 9
  • 51
  • 109
40
votes
2 answers
33
votes
1 answer

Custom SeekBar thumb showing unwanted background

I've been trying to make a custom SeekBar. It's supposed to have round corners. Even the progress of SeekBar should have round corners at both sides. I don't need a thumb. Something like this. To achieve this, I've made a layer-list xml file,…
Anjani
  • 1,533
  • 3
  • 15
  • 26
27
votes
6 answers

Android: SeekBar with custom drawable

I have SeekBar with custom drawable. Progress element is not rendered from left side exactly but it is moved to right. How can I avoid this?
Michal
  • 3,584
  • 9
  • 47
  • 74
25
votes
4 answers

Implementation of Google design guidelines for Sliders

Yesterday I was looking for sliders in Android and found this website with the Google search: https://material.io/guidelines/components/sliders.html#sliders-discrete-slider I know that I can use a SeekBar in Android to implement sliders. However,…
20
votes
1 answer

Android SeekBar Touch Sensitivity

Recently I have been working on an app which has a SeekBar. The SeekBar is rather thin so it can at times be difficult to use it (you have to be very precise in your gestures). Is there any way to increase the touchable area of the SeekBar? So I…
Zero
  • 1,864
  • 3
  • 21
  • 39
19
votes
3 answers

How to create circular seekbar in Android

Can anyone guide me to make circular seek bar in android ?? is there any example to make seek bar round in shape rather then linear with images , have any one tried Reference :…
user665270
18
votes
8 answers

Range selector / range seekbar to trim video including thumbnails

I am looking for a library or open source project that provides UI for trimming videos as you see in the screenshot. Including Range selector with ability to increase, decrease and move the selection Thumbnails Current position of playback Just…
15
votes
4 answers

How to make SeekBar take up full width of parent

I have a SeekBar in a RelativeLayout whose width is equal to the screen width. I applied layout_width="match_parent" to the SeekBar but it seems to keep some empty space on both sides of the SeekBar to accommodate the thumb. I also tried using…
David Heisnam
  • 2,463
  • 1
  • 21
  • 32
14
votes
4 answers

Can I databind a ProgressBar in Android?

Is it possible to use data-binding for a SeekBar or ProgressBar in Android? I have this data element: If I refer to the variable foo.bar (which is an int) in a TextField, it…
prograde
  • 2,620
  • 2
  • 23
  • 32
1
2 3
43 44