android - Styling actionBar action item button -


so have actionbar:

actionbar

how change style of mute button text isn't bold , smaller , of different color? adding android:actionmenutextcolor apptheme has no effect. defining android:actionbarstyle has no effect, it's being ignored! i've looked @ every other answer can find, nothing works!

these styles produce actionbar seen above:

<style name="appbasetheme" parent="@style/theme.appcompat">     <item name="colorprimary">@color/actionbar_bgr</item>     <item name="colorprimarydark">@color/primary_dark</item> </style>  <style name="apptheme" parent="appbasetheme">     <item name="android:windowbackground">@color/activity_bgr</item>     <item name="android:textcolor">@color/activity_text</item>     <item name="android:textsize">@dimen/small_text_size</item>     <item name="android:actionbarstyle">@style/newactionbar</item>     <item name="android:actionmenutextcolor">@color/test_pink</item> </style>  <style name="newactionbar">     <item name="android:background">@color/test_pink</item>     <item name="android:titletextstyle">@style/newactionbartitle</item>     <item name="android:displayoptions">showhome|showtitle</item> </style>  <style name="newactionbartitle">     <item name="android:textsize">@dimen/action_bar_text_size</item>     <item name="android:textcolor">@color/test_yellow</item> </style> 

since you're using theme.appcompat need drop android: in items name. read answer here , resource linked in it.


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -