Change the color of Navigation Drawer indicator icon

Animesh Jena picture Animesh Jena · Jul 25, 2015 · Viewed 46.7k times · Source

I am using a toolbar in place of actionbar and i am also using a navigation drawer.My toolbar colour is black and i want my navigation drawer indicator colour to be white.So how to change the colour of the navigation drawer indicator or put a custom navigation indicator in v7.Can any one please help me?

Answer

Dom picture Dom · Jul 26, 2015

Try creating this style in your styles.xml.

<style name="DrawerArrowStyle" parent="Widget.AppCompat.DrawerArrowToggle">
    <item name="color">@android:color/white</item>
</style>

And, then add it to you AppTheme style like the following.

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