0

Is there a way to set the stroke of bezier curves in android canvas? And also how do I animate the shift of slider track. Image of the desired slider.

I opened the Material 3 slider implementation in Jetpack Compose. And there you can change the slider track with any other Compose function. The shift of the Bezier curve along the Y axis did not give the desired result. And the mathematical shift of the curve along the normal is too complicated an operation for a small interface element. I think there is a much simpler way to implement such a slider.

xephosbot
  • 53
  • 6

0 Answers0