Animesh Jena Animesh Jena - 1 month ago 9
Android Question

Change the color of Navigation Drawer indicator icon

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?

Dom Dom
Answer

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 Applications theme like so:

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