material-components / material-components/material-components-android
[ProgressIndicator] Incorrect track shape in linear progress indicator
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 3.2k
- PR merge metrics
- No merged PRs in 30d
Description
**Description:** When the inner radius of the indicator is larger than the outer radius, the start and end of the track may overlap incorrectly at certain progress values:
Expected result
Actual result
Expected result (original)
Actual result (original)
**Repro:**
- Device: Pixel 10 API 37 Emulator
- Progress value: 96 / 100
- Track thickness: 24dp
- Track corner radius: 4dp
- Track inner corner radius: 16dp
- Track stop indicator size: 0dp
**Material Library version:** 1.14.0-beta01
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the ProgressIndicator linear-track implementation and inspect how the inner and outer corner radii are handled for the supplied 96/100 case. Validate the result with the listed track dimensions and radii; done means the track start and end no longer overlap incorrectly and match the expected shape.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100