I have been struggling to change the text color of the Action Overflow item in the action bar. I use v7 AppCompat and Light theme with Dark actionbar.
actionMenuTextColor
doesn't seems to do anything. I need to change it to a black text? Any ideas?
In method 1 Just go to the activity_main. xml file and add a TextView in the toolbar widget with the text color attribute. The complete code for the activity_main.
You might already have your answer but maybe somebody has the same question so heres my solution to that:
just use "Theme.AppCompat.Light.DarkActionBar" or something with dark action bar
<!-- Base application theme. -->
<style name="AppTheme" parent="AppTheme.Base"/>
<style name="AppTheme.Base" parent="Theme.AppCompat.Light.DarkActionBar">
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
</style>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With