conradchen 0ce6ae458f [ProgressIndicator] Fix linear progress indicator with corner radius
When corner radius of a linear progress indicator is larger than 0, the behavior it's confusing because when the progress fraction is slightly larger than 0, the progress indicator will suddenly show with a width of twice the corner radius.

Fixes this by adjusting the indicator startX and endX correctly so the visible indicator length is always proportional to the progress.

Resolves https://github.com/material-components/material-components-android/issues/2940

PiperOrigin-RevId: 509552399
2023-02-15 10:32:05 -08:00
..
2023-01-31 20:01:13 +00:00
2021-11-29 17:35:39 +00:00