I want to change the background's color of my overflow menu, I'm using AppCompat as Theme. I tried a bunch of combinations without any result.
My styles.xml
<!-- Application theme. -->
<style name="AppTheme" parent="AppBaseTheme">
<item name="android:actionOverflowButtonStyle">@style/OverflowMenuButton</item>
<item name="android:actionBarStyle">@style/AppBaseTheme.MyActionBar</item>
<item name="android:actionBarTabStyle">@style/MyActionBarTabs</item>
<item name="android:actionBarTabTextStyle">@style/MyActionBarTabText</item>
<item name="android:popupMenuStyle">@style/MyPopupMenu</item>
</style>
...
<style name="MyPopupMenu" parent="style/Widget.AppCompat.Light.ActionButton.Overflow">
<item name="android:popupBackground">#64666666</item>
</style>
For the attribute I tried both with and without the android namespace (android:
)
I think that I'm not reffering to the correct parent for my PopupMenu but that's what I found so far.