Questions tagged [seekbar-thumb]
24 questions
12
votes
4 answers
Jetpack Compose Change Slider Thumb Size
Is there any way to change slider thumb size? I think for now we can only manipulate colors
var sliderPosition by remember { mutableStateOf(0f) }
Text(text = sliderPosition.toString())
Slider(
value = sliderPosition,
onValueChange = {…

ysfcyln
- 2,857
- 6
- 34
- 61
11
votes
2 answers
Android custom SeekBar - progress is not following the thumb
I want to create a custom SeekBar, but I get this problem where the progress is not following the thumb of the SeekBar at certain places (around progress value from 0-10 and from 90-100). I believe it happens because I set the thumbOffset to 0, in…

AndrejH
- 2,028
- 1
- 11
- 23
4
votes
1 answer
How to stop seekbar progress at a certain level?
I have a simple question. I have a list of SeekBar. My requirement is when the user drags the first SeekBar to 70% the next one should stop at 30%. How can I stop SeekBar progress to a specific value or % in my case?
public class ProductsAdapter…

3iL
- 2,146
- 2
- 23
- 47
4
votes
1 answer
Android: Where to find Seekbar drawable "scrubber_control_normal_holo"
My primary problem is I want to increase the size of the thumb of the Seekbar, so I found this post: Changing size of seekbar thumb
From there it said i can create thumb_size.xml and add the below code inside:

eepty
- 716
- 3
- 10
- 28
4
votes
4 answers
How to change or disable the grey highlighting around the seekbar thumb?
When im pressing the thumb at my Seekbar, a pale shadow appears around it, like shown below.
How can i remove the shadow or set it transparent?
Thanks!
user6209804
3
votes
1 answer
Android seekbar thumb drawable not displayed correctly
I created a custom seekbar thumb, it looks very good on android studio previews, but when running the app on my device, it looks wrong !
what it should look like
what it actually look like on my device
my seekbar_thumb.xml code

Bialy
- 905
- 2
- 12
- 22
2
votes
2 answers
Android Range Seekbar with two different thumbs
I want a range seekbar with two different thumb range selections.
I'm using this library but there is not an option right drawable only the left drawable is working on both ends.

Waris Ali Rehmani
- 61
- 6
2
votes
2 answers
Android Seekbar starting point
The range of my seekbar is between (-100,100) and the thumb starts on 0 (in the middle of the seekbar).
I want to the progress tint starts at middle.
With this library, the progress tint starts always in the beginning of the seekbar.
I used this…

Hernâni Pereira
- 312
- 4
- 19
2
votes
1 answer
How to remove bubble around Thumb in Android SeekBar?
I have a little problem with my SeekBar. Does someone know, how I can remove the light blue bubble around Thumb in Android SeekBar?

h3nn1n9
- 69
- 4
2
votes
0 answers
SeekBar progress not keeping up with large custom thumb
I have implemented a simple SeekBar whose thumb gets large while the user touches it. While this works fine in Marshmallow devices, it doesn't on Lollipop.
In Marshmallow- (This is how it should be)
On touch-
In Lollipop- (This is wrong)
The two…

H. Saxena
- 335
- 4
- 11
1
vote
0 answers
Custom SeekBar in Kotlin
I want to create a Custom Seekbar like this. Please give some idea to create this type of seek bar in Kotlin
https://i.stack.imgur.com/ScHBK.png

Meet Bhatt
- 11
- 4
1
vote
1 answer
Custom Slider in Flutter
I'm having problems to create a custom slider on flutter. The image is the following one:
I know how to create it on XML on Android, but with flutter, I'm having problems. In the Slider class constructor is not a parameter for slider background…

Singorenko
- 473
- 2
- 7
- 19
1
vote
1 answer
On Oreo, setColorFilter() on a SeekBar thumb changes all thumbs
I have a class public class LevelSeekBar extends AppCompatSeekBar. Within that class, I have this method:
@Override
public void setEnabled(boolean enabled) {
super.setEnabled(enabled);
int color =…

EMon
- 479
- 3
- 12
1
vote
2 answers
How to colorize SeekBar's thumb on Android?
I use this method to change SeekBar's thumb color:
public static void setThumbColor(final SeekBar sb, @ColorInt final int color) {
final Drawable thumb = sb.getThumb();
thumb.setColorFilter(color, PorterDuff.Mode.SRC_IN);
…

P. Ilyin
- 761
- 10
- 28
1
vote
1 answer
How do I find the Y position directly above a SeekBar's thumb?
I am currently trying to make a floating text appear above a SeekBar and have resolved finding the exact X position above the SeekBar's thumb like so:
double percent = seekBar.getProgress() / (double) seekBar.getMax();
int offset =…

damememan
- 592
- 7
- 14