material-components / material-components/material-components-android

[Progress indicator] Doesn't spin on API level 21

Open
#4,179 3 comments 0 reactions 1 assignee View on GitHub

@pekingme is already working on this.

Since May 17, 2024.

bug Need more info Widget: ProgressIndicator
Dominant language
Java
Stars
17.4k
Forks
3.2k
PR merge metrics
No merged PRs in 30d

Description

**Description:**
Neither the circular progress indicator, nor the linear one have animation on Android 5.0 (api level 21). They are just stuck in one state without any animation. At the same time, the same code produces a progress indicator with proper animation on Android 12.

Interestingly enough, there is exactly the same issue with the Jetpack Compose version of progress indicators (don't spin on android 5, do spin on android 12), although I understand that it is a separate issue.

**Android API version:** 21

**Material Library version:** 1.11.0

**Device:** ASUS ZenPad C 7.0 (P01Y)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.