由网友(瘾君。)分享简介:如何修改我的动作条的向上箭头。我使用android系统中没有ABS或actionbarcompat操作栏。有没有办法改变的操作栏中的向上的颜色/图像箭头?解决方案 答案由沃顿商学院的杰克在的如何自定义动作条上 <样式名称=Theme.MyTheme父=机器人:Theme.Holo><项目名称=机器人:...![怎么改变PS界面颜色](https://p.xsw88.cn/allimgs/daicuo/20230912/98.png)
如何修改我的动作条的向上箭头。我使用android系统中没有ABS或actionbarcompat操作栏。有没有办法改变的操作栏中的向上的颜色/图像箭头?
解决方案
答案由沃顿商学院的杰克在的如何自定义动作条上
<样式名称=Theme.MyTheme父=机器人:Theme.Holo>
<项目名称=机器人:homeAsUpIndicator> @可绘制/ my_up_indicator< /项目>
< /风格>
How do I change the actionbar's up arrow. I am using the action bar in android not ABS or actionbarcompat. Is there a way to change the color /image of the action bar's up arrow ?
![怎么改变PS界面颜色](https://p.xsw88.cn/allimgs/daicuo/20230912/98.png)
解决方案
The answer is provided by Jake Wharton in How to customize the back button on ActionBar
<style name="Theme.MyTheme" parent="android:Theme.Holo">
<item name="android:homeAsUpIndicator">@drawable/my_up_indicator</item>
</style>
相关推荐
最新文章