material-components-android
material-components-android copied to clipboard
[Menu] context menu background color is strange
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
Android API version: 34
Material Library version: 1.12.0-alpha02
Device: Emulator 32.1.15 (API 32, 33, and 34)
Also see https://github.com/material-components/material-components-android/issues/2682#issuecomment-1442049217.
Thank you very much. There is the closed issue!