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 to popupMenuStyle, 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
Description: The set PopupMenu styles (via the
popupMenuStyleattribute) only work withandroidx.appcompat.widget.PopupMenu. But the menu docs link to/suggest usingandroid.widget.PopupMenu.Expected behavior:
I guess there are two options:
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?),androidx.appcompat.widget.PopupMenuinstead.Material Library version: master
Device: Android 15 emulator