i have made a popup menu
. now i want to customize its background color. i have followed some tutorial and stackoverflow but nothing working. app base theme is
Theme.AppCompat.Light.DarkActionBar
my style code is:
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
<!--<item name="android:popupMenuStyle">@style/OptionMenu</item>-->
<item name="android:itemBackground">#167be1</item>
</style>
<!--<style name="OptionMenu" parent="@style/Theme.AppCompat.Light.DarkActionBar">-->
<!--<item name="android:popupBackground">#1278ce</item>-->
<!--</style>-->
can anyone please help me on this issue.