android - Set menu overflow icon to be white -
i have dummy app i'm making hang of android development. managed menu overflow icon appear on toolbar, can't seem figure out how change white.
i'm using toolbar widget (without support libraries; that's don't want do).
here have:
i want make overflow menu white.
styles.xml
<?xml version="1.0" encoding="utf-8"?> <resources> <style name="apptheme" parent="android:theme.material.light.darkactionbar"> <item name="android:windownotitle">true</item> <item name="android:windowactionbar">false</item> <item name="android:colorprimary">@color/primary</item> <item name="android:colorprimarydark">@color/primary_dark</item> <item name="android:coloraccent">@color/accent</item> </style>
you want change android:textcolorsecondary
so:
<?xml version="1.0" encoding="utf-8"?> <resources> <style name="apptheme" parent="android:theme.material.light.darkactionbar"> <item name="android:windownotitle">true</item> <item name="android:windowactionbar">false</item> <item name="android:colorprimary">@color/primary</item> <item name="android:colorprimarydark">@color/primary_dark</item> <item name="android:coloraccent">@color/accent</item> <!-- here go. changes overflow icon colour. --> <item name="android:textcolorsecondary">@color/white</item> </style>
Comments
Post a Comment