material-components / material-components/material-components-android
[Menu] context menu background color is strange
@pekingme is already working on this.
Since Jan 8, 2024.
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 3.2k
- PR merge metrics
- No merged PRs in 30d
Description
**Description:** The context menu background color is strange.
(MenuMainDemoFragment)

The context menu background color will be correct if some preferences are changed.

(Test2)

The context menu background color will be correct if the activity is recreated.

**Expected behavior:** The context menu background color is correct.
**Minimal sample app repro:** Catalog app (MenuMainDemoFragment) and [Test2.zip](https://github.com/material-components/material-components-android/files/13861043/Test2.zip)
**Android API version:** 34
**Material Library version:** 1.12.0-alpha02
**Device:** Emulator 32.1.15 (API 32, 33, and 34)
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.
Assessment
This issue has not been assessed yet.