Questions tagged [android-slider]

Sliders allow users to make selections from a range of values.

Sliders reflect a range of values along a bar, from which users may select a single value. They are ideal for adjusting settings such as volume, brightness, or applying image filters.

Sliders can have icons on both ends of the bar that reflect a range of values.

More info in the official doc.

34 questions
0
votes
1 answer

Round RangeSlider position values to 2 decimal places

I'm trying to create a price range slider in Compose, I've found something that almost suits my needs: @Composable @OptIn(ExperimentalMaterialApi::class) fun RangeSliderSample() { var sliderPosition by remember { mutableStateOf(0f..100f) } …
JustSightseeing
  • 1,460
  • 3
  • 17
  • 37
0
votes
2 answers

Get Thumb position (x, y) of Slider in Jetpack Compose

Three sliders are defined in Jetpack Compose and the thumb positions of these three sliders are needed to connect them using a Path in a Canvas behind them. How to get the position PointF(x,y) of the thumb in each Slider to draw the Path or any…
Bullionist
  • 2,070
  • 3
  • 25
  • 42
0
votes
1 answer

How can i create range seek bar in android java with indicator?

I want to create range seekbar in my app. But i can't create perfectly seekbar according to image. How can i create Please tell me any one. Thanks
0
votes
1 answer

how to slide images automatically along by sliding custom by fingers

I have implemented an image slider with dots. Working perfectly. Slider is working only on manual by sliding from finger left or right not automatically by a time interval 3 seconds. See the code and suggest me some approach to working slider…
1 2
3