Is it possible to change the color of the overflow button(3 vertical dots) on the action bar? If so, how do we do that? I didn't find any style for overflow button.
Thanks
Is it possible to change the color of the overflow button(3 vertical dots) on the action bar? If so, how do we do that? I didn't find any style for overflow button.
Thanks
For Overflow icon color change, you can just add
Some of these answers are serious overkill and some give limited results. The answer is much simpler. You can set it to whatever color you want, any time. Here:
Note that this is different from XGouchet's answer by removing android namespace. XGouchet's answer only works for Lollipop and higher devices while mine works for all API 7+ devices.
ref: Custom AppCompat Theme not changing Overflow icon on older devices
If you are using AppCompat , you could derive a new custom style with the attribute
android:textColorSecondary
set to the required color, and use it as the theme for your toolbar. Android: Changing the Toolbar’s text color and overflow icon colorPutting images is not a great idea, because if you can change it by changing colors only then no need to use an extra image. The menu dots picks color from textColorPrimary, so rather than writing multiple lines this single line
<item name="android:textColorPrimary">@android:color/white</item>
will fix your problem. Only a small problem is that this color will be apply to the textcolor of your overflow menu also, and lots of other places of-course :)XGouchet's answer is great, but just wanted to add that if you inherit from an existing style you'll get the standard padding, selected state, etc.