I have created a navigation drawer which has hamburger/back icon animation in the actionbar. The only problem is that I am unable to change the color of the hamburger icon to white. I followed How to style the DrawerArrowToggle from Android appcompat v7 21 library and How to change color of hamburger icon in material design navigation drawer.
My code:
<style name="AppTheme" parent="Theme.AppCompat.Light">
<item name="colorPrimary">@color/appPrimaryColor</item>
<item name="colorPrimaryDark">@color/ColorPrimaryDark</item>
<item name="android:windowNoTitle">true</item>
<item name="windowActionBar">false</item>
<item name="drawerArrowStyle">@style/DrawerArrowStyle</item>
<item name="android:actionOverflowButtonStyle">@style/OverFlowIcon</item>
</style>
<style name="DrawerArrowStyle" parent="Widget.AppCompat.DrawerArrowToggle">
<item name="spinBars">true</item>
<item name="color">@color/white</item>
</style>
However, this does not seem to work. Any ideas why?