material-components-android
material-components-android copied to clipboard
[Slider] Trackpath rounded corners draws a circle
trafficstars
Description: At the end of a track path, a rounded corner is drawn. When the track path is at its mimimum size, the rounded corner draws a circle. Instead it should use the trackInsideCornerSize for the corners near the slider.
Expected behavior: https://github.com/material-components/material-components-android/assets/1721405/eda92b60-2d36-4161-bc98-4f8daf05bc5f
Current behaviour: https://github.com/material-components/material-components-android/assets/1721405/4e5a2270-e330-484e-a2ef-bbcc48b94c3e
Source code: The code snippet which is causing this issue
Minimal sample app repro: The current catalog app
Android API version: Android API 34
Material Library version: 1.12.0-alpha03
Device: Pixel 7