With the AppCompat Toolbar, I want to be able to change the color of the overflow menu icon on ActionMode change.
For example, the overflow icon will be white in normal
This can be achieved by setting the android:textColorSecondary
theme attribute.
For example, suppose you have the following toolbar, which uses the theme MyToolbarStyle
:
Next, define the style MyToolbarStyle
, inheriting from ThemeOverlay.AppCompat.ActionBar
. Finally, modify the color of the overflow icon by adding an item for android:textColorSecondary
: