I am trying Material theme and changing the background and text color of Menu and items. Using the below style it works fine on the Toolbar, but the menu pop up while pressing device menu button shows no change in text color though the background got changed. Please help to change the text color as mentioned.
<resources>
<style name="MyMaterialTheme" parent="MyMaterialTheme.Base">
</style>
<style name="MyMaterialTheme.Base" parent="Theme.AppCompat.Light.DarkActionBar">
<item name="windowNoTitle">true</item>
<item name="windowActionBar">false</item>
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
<item name="android:textColorPrimary">@color/accent</item>
<item name="android:textColorSecondary">@color/accent</item>
<item name="android:textColorHint">@color/accent</item>
<!-- Menu Items -->
<item name="android:textColor">@color/accent</item>
<item name="android:actionMenuTextColor">@color/accent</item>
<item name="actionMenuTextColor">@color/accent</item>
<item name="actionBarStyle">@style/MyActionBar</item>
<item name="android:itemBackground">@color/colorPrimaryDark</item>
<item name="android:itemTextAppearance">@style/MyActionBar.MenuTextStyle</item>
<!-- Menu Items -->
</style>
<style name="MyActionBar" parent="@style/Widget.AppCompat.Light.ActionBar.Solid.Inverse">
<item name="background">@color/colorPrimaryDark</item>
<item name="titleTextStyle">@style/MyActionBarTitle</item>
<item name="actionMenuTextColor">@color/accent</item>
</style>
<style name="MyActionBarTitle" parent="@style/TextAppearance.AppCompat.Widget.ActionBar.Title">
<item name="android:textColor">@color/accent</item>
<item name="android:actionMenuTextColor">@color/accent</item>
<item name="actionMenuTextColor">@color/accent</item>
</style>
<style name="MyActionBar.MenuTextStyle">
<item name="android:textColor">@color/accent</item>
<item name="android:textStyle">bold</item>
<item name="android:actionMenuTextColor">@color/accent</item>
<item name="actionMenuTextColor">@color/accent</item>
</style>