Search code examples
androidnavigation-drawertoolbar

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?


Solution

  • 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>