Don';t更改我的android应用程序中操作栏的文本颜色
我想用e做一个橙色的动作条。我已经完成了以下主题Don';t更改我的android应用程序中操作栏的文本颜色,android,Android,我想用e做一个橙色的动作条。我已经完成了以下主题 <resources> <!-- Base application theme, dependent on API level. This theme is replaced by AppBaseTheme from res/values-vXX/styles.xml on newer devices. --> <style name="AppBase
<resources>
<!--
Base application theme, dependent on API level. This theme is replaced
by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
-->
<style name="AppBaseTheme" parent="android:Theme.Light">
<!--
Theme customizations available in newer API levels can go in
res/values-vXX/styles.xml, while customizations related to
backward-compatibility can go here.
-->
</style>
<!-- Application theme. -->
<!-- the theme applied to the application or activity -->
<style name="CustomActionBarTheme"
parent="@android:style/Theme.Holo.Light">
<item name="android:actionBarStyle">@style/MyActionBar</item>
</style>
<style name="MyActionBar" parent="@android:style/Widget.Holo.Light.ActionBar">
<item name="android:background">#FF6600</item>
<item name="android:titleTextStyle">@style/MyTheme.ActionBar.TitleTextStyle</item>
</style>
<style name="MyTheme.ActionBar.TitleTextStyle" parent="@android:style/TextAppearance.Holo.Widget.ActionBar.Title">
<item name="android:textColor">@color/white</item>
</style>
</resources>
@样式/MyActionBar
#FF6600
@style/MyTheme.ActionBar.TitleTextStyle
@颜色/白色
最后,我在清单中设定了主题;但当我运行应用程序时,操作栏标题的文本颜色是黑色(而不是白色)。我必须做什么?仔细检查这个答案。。。。这可能会帮助你。。。问题解决了吗?顺便问一下,您是否更改了所有文件上的style.xml代码?在values、values-v11和values-v14文件夹中有一个style.xml。