Set Menu Overflow Icon to be White

Hello Androiders,

How to Set Menu Overflow Icon to White Guide. I have a dummy app that I’m making just to get the hang of Android development. I managed to get a menu overflow icon to appear on my toolbar, but I can’t seem toย figure out how to change it to white.

Popular Posts

How to Set Menu Overflow Icon to White in Android

See below image

Here is what I have before:

menu overflow icon

So here is the simple working solution of the above issue.

Just add android:theme="@style/ThemeOverlay.AppCompat.Dark" to the toolbar in the layout.

<android.support.v7.widget.Toolbar
 android:id="@+id/toolbar"
 android:layout_width="match_parent"
 android:layout_height="?attr/actionBarSize"
 android:background="?attr/colorPrimary"
 app:popupTheme="@style/AppTheme.PopupOverlay"
 android:theme="@style/ThemeOverlay.AppCompat.Dark"/>

This thing worked for me ๐Ÿ˜‰

Hope it helps ๐Ÿ˜‰

Happy Coding ๐Ÿ™‚

Related threads

Founder
View posts

I am a developer and designer who encourages readers to live a creative, adventurous life.

Leave a Comment