2

In my jetpack compose app I use a RangeSlider for selecting dates:

date range slider

The active track should use gradient color, e.g. black in the middle and red on the outer sides:

gradient color example

Is this possible using standard RangeSlider?

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62

1 Answers1

1

No, it is not possible. The RangeSlider is very limited in its capabilities and only accepts Color instances.

For normal sliders you can use Colorful Sliders, but they do not support range sliders as of today.