2015-04-30 26 views

回答

0

在您的样式

<style name="CustomThemeActionBar" parent="@style/android:Theme.Holo.Light"> 
<item name="android:background">@color/blue</item> 
<item name="android:titleTextStyle">@style/CustomThemeActionBarTitleTextStyle</item> 

<style name="CustomThemeActionBarTitleTextStyle" parent="@android:style/TextAppearance.Holo.Widget.ActionBar.Title"> 
<item name="android:textColor">@color/white</item> 
<item name="android:textStyle" >bold</item> 
<item name="android:gravity">center</item> 

这是我怎么能改变动作栏中文字的颜色

+0

这个问题已经解决了,当使用像:android:theme =“@ style/android:Theme.Holo” –