0

I am creating an android application using "Navigation Drawer Activity" template. When the application is created, by default, the icon color menu is white. And my aim is to change this icon color menu. Not only, by reading blogs and forum to solve it, but also, by searching documentation in the net, I can't still achieve this. Could anyone help me? enter image description here

zayann
  • 139
  • 1
  • 2
  • 8
  • 1
    This question should be closed. Please checkout https://stackoverflow.com/questions/31870132/how-to-change-color-of-hamburger-icon-in-material-design-navigation-drawer – Abhishek May 22 '20 at 15:55
  • 1
    Than you very much @Abhisheck, it works like a charm!! – zayann May 25 '20 at 06:42

1 Answers1

0

Hey there you can do this :-

  • Add custom style in your styles.xml

    <style name="NavDrawerIcon" parent="Widget.AppCompat.DrawerArrowToggle">
        <item name="color">@android:color/black</item>
    </style>
    
  • Then in your app theme add this line :-

    <item name="drawerArrowStyle">@style/NavDrawerIcon</item>

This will change your icon color to Black.

WhiteSpidy.
  • 1,107
  • 1
  • 6
  • 28