首页 > 其他 > 详细

actionbar tab字体颜色

时间:2015-06-02 17:11:06      阅读:239      评论:0      收藏:0      [点我收藏+]

In fact it is pretty easy.All you should do is defining an attribute like this

<style name="tabtextcolor" parent="@style/Widget.Sherlock.ActionBar.TabText">
    <item name="android:textColor">@android:color/white</item>
</style>

and then

adding these styles to your theme

<item name="actionBarTabTextStyle">@style/tabtextcolor</item>
<item name="android:actionBarTabTextStyle">@style/tabtextcolor</item>

或者 

<style name="tabtextcolor" parent="@android:style/Widget.Holo.Light.ActionBar.TabText">
<item name="android:textColor">#5E5E5E</item>

 

actionbar tab字体颜色

原文:http://www.cnblogs.com/leiqun123/p/4546766.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!