我用的是安卓系统.支持v7.小装置.从this post中学习了如何将汉堡包图标的 colored颜色 更改为白色,但当我打电话时,向上/向后箭头仍然是深色
setDisplayHomeAsUpEnabled(true);
我怎样才能把箭也变成白色呢?
以下是调用setDisplayHomeAsUpEnabled()时工具栏的外观:
...以下是我风格的相关部分.xml文件:
<style name="AppTheme" parent="Theme.AppCompat.NoActionBar">
<item name="colorPrimary">@color/primary</item>
<item name="colorPrimaryDark">#194C5F</item>
<item name="colorAccent">@color/accent</item>
<item name="drawerArrowStyle">@style/WhiteDrawerIconStyle</item>
</style>
<style name="WhiteDrawerIconStyle" parent="Widget.AppCompat.DrawerArrowToggle">
<item name="spinBars">true</item>
<item name="color">@android:color/white</item>
</style>