Closed
Description
Description: The set PopupMenu styles (via the popupMenuStyle
attribute) only work with androidx.appcompat.widget.PopupMenu
. But the menu docs link to/suggest using android.widget.PopupMenu
.
Expected behavior:
I guess there are two options:
- set
android:popupMenuStyle
(in addition topopupMenuStyle
, e.g like for the light theme) in the Material themes so the platform PopupMenu is styled as well (but maybe there is a reason why this was not done?), - update the docs to link to/suggest using
androidx.appcompat.widget.PopupMenu
instead.
Material Library version: master
Device: Android 15 emulator