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

[MaterialCardView] Rounded background doesn't render correctly on API 26

Open
#1,795 2 comments 4 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

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

Description

**Description:**
On API 26, the rounded background doesn't render correctly.
![Screenshot_1602563847](https://user-images.githubusercontent.com/5347535/95816571-0490a600-0d52-11eb-8bcd-e12a2e3c29c7.png)

**Expected behavior:**
Same code works on API 29
![screencap-2020-10-13T044359 491Z](https://user-images.githubusercontent.com/5347535/95816547-f6db2080-0d51-11eb-94b0-f0c724d57493.png)

**Source code:**
```xml

```

**Android API version:** API 26

**Material Library version:** 1.3.0-alpha01

**Device:** Nexus S API 26 Emulator

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.