如何改变工具栏后退按钮的颜色的Android? [英] How to change color of Toolbar back button in Android?
本文介绍了如何改变工具栏后退按钮的颜色的Android?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我无法改变后退按钮的颜色。我使用的工具材料设计。在我的应用程序我申请工具栏的黑色背景,但背部设计是被黑在默认情况下,这就是为什么我只是想改变这个返回按钮的颜色。请给我的解决方案。谢谢
i could not change the color of back button. i am using toolbar material design. In my app i am applying black background of tool bar but the back design is being black by default that's why i just want to change the color of this back button. Please give me solutions. Thank You
推荐答案
使用这种风格
<style name="Theme.MyFancyTheme" parent="android:Theme.Holo">
<item name="android:homeAsUpIndicator">@drawable/back_button_image</item>
</style>
这篇关于如何改变工具栏后退按钮的颜色的Android?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文