我想更改我的 actionbarsherlock 操作栏的文本样式/字体大小/字体颜色。我将在下面展示我的尝试,但它只显示错误“ error: Error: No resource found that matches the given name (at 'android:textColor' with value '@color/black').
”和“ error: Error: No resource found that matches the given name (at 'android:textSize' with value '@dimen/20dp').
”有人可以告诉我它是如何完成的吗?
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="ABSTheme" parent="Theme.Sherlock.Light.ForceOverflow">
<item name="android:actionBarStyle">@style/ABSTheme.ActionBar</item>
<item name="actionBarStyle">@style/ABSTheme.ActionBar</item>
</style>
<style name="ABSTheme.ActionBar" parent="Widget.Sherlock.Light.ActionBar.Solid">
<item name="android:displayOptions">showHome|useLogo</item>
<item name="displayOptions">showHome|useLogo</item>
<item name="titleTextStyle">@style/ABSTheme.ActionBar.TextAppearance</item>
</style>
<style name="ABSTheme.ActionBar.TextAppearance" parent="@style/TextAppearance.Sherlock.Widget.ActionBar.Menu">
<item name="android:textSize">@dimen/20dp</item>
<item name="android:textColor">@color/black</item>
</style>
</resources>