Skip to content

[ProgressIndicator] Incorrect track shape in linear progress indicator #5060

@pubiqq

Description

@pubiqq

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions