asdsolutions-os / duo-navigation-drawer

A flexible, easy to use, unique drawer library for your Android project.
http://psdcompany.nl/
Apache License 2.0
1.1k stars 191 forks source link

How can I change the color of a toggle? #13

Closed danJarNC closed 6 years ago

potalexander commented 6 years ago

Hi,

If you enabled the hamburger icon via ActionBarDrawerToggle. You should look at: https://developer.android.com/reference/android/support/v4/app/ActionBarDrawerToggle.html

To change the hamburger icon you can call the setHomeAsUpIndicator() method on the toggle instance. If you change the icon the animation won't work anymore. Same as the default android menu.

If you want to keep the animation but only change the color of the hamburger icon. You can do that with a custom style. Again, same as the default android menu.

potalexander commented 6 years ago

Did u manage to solve your problem?