d
image.png
s
https://m3.material.io/components/progress-indicators/overview This is the squiggly slider from Material 3 Expressive, and according to the documentation, it should already be available. Here’s some documentation on how it should be defined: https://developer.android.com/reference/kotlin/androidx/compose/material3/package-summary#LinearWavyProgressIndicator[…]androidx.compose.ui.unit.Dp)
So, it is not a slider, it is a Linear Wavy Progress Indicator
https://m3.material.io/blog/building-with-m3-expressive Looks like M3 Expressive Sliders not available yet
d
Would there be a simple way to turn it into a simple slider?
Just track progress and change position
d
That was added in 1.2.0 not in 1.4.0 alpha where expressive was added... @Csaba Szugyiczki
c
I think the Slider is not that new of a concept. The difference between the original Material 3 slider and the Expressive Slider is that the Expressive one supports dynamic themes better as I can tell from the docs. Maybe I don’t see why is it so important to use an Expressive Slider?
d
It looks a bit better in our app... we switched from material2 where the slider was a line with a dot... and here we get a thick line with a crossline that doesn't fit too well with our other components...
I care less about the wavy line... but it might have been a nice touch...