@@ -1421,7 +1421,7 @@ href="#ActionView">action views</a>. (Added in API level 14.)</dd>
14211421 </style>
14221422
14231423 <!-- style for the action bar tab text -->
1424- <style name="CustomTabTextStyle">
1424+ <style name="CustomTabTextStyle" parent="@android:style/TextAppearance.Holo" >
14251425 <item name="android:textColor">#2456c2</item>
14261426 </style>
14271427</resources>
@@ -1437,8 +1437,7 @@ action bar styles you want to change without re-implementing the styles you want
14371437manifest file like this:</p>
14381438
14391439<pre>
1440- <application android:theme="@style/CustomActivityTheme"
1441- ... />
1440+ <application android:theme="@style/CustomActivityTheme" ... />
14421441</pre>
14431442
14441443<p>For more information about using style and theme resources in your application, read <a
@@ -1457,22 +1456,23 @@ android:backgroundStacked}. If you override these action bar styles, be sure tha
14571456parent action bar style such as {@link android.R.style#Widget_Holo_ActionBar
14581457Widget.Holo.ActionBar}.</p>
14591458
1460- <p>For example, if you want to change the action bar's background, you could use the following
1459+ <p>For example, if you want to change the action bar's background, you can use the following
14611460styles:</p>
14621461
14631462<pre>
14641463<?xml version="1.0" encoding="utf-8"?>
14651464<resources>
14661465 <!-- the theme applied to the application or activity -->
14671466 <style name="CustomActivityTheme" parent="@android:style/Theme.Holo">
1468- <item name="android:actionBarTabTextStyle ">@style/customTabTextStyle </item>
1467+ <item name="android:actionBarStyle ">@style/MyActionBar </item>
14691468 <!-- other activity and action bar styles here -->
14701469 </style>
14711470
1472- <!-- style for the action bar, simply to change the background -->
1473- <style parent="@android:style/Widget.Holo.ActionBar">
1471+ <!-- style for the action bar backgrounds -->
1472+ <style name="MyActionBar" parent="@android:style/Widget.Holo.ActionBar">
14741473 <item name="android:background">@drawable/ab_background</item>
1475- <item name="android:backgroundSplit">@drawable/ab_background</item>
1474+ <item name="android:backgroundStacked">@drawable/ab_background</item>
1475+ <item name="android:backgroundSplit">@drawable/ab_split_background</item>
14761476 </style>
14771477</resources>
14781478</pre>
0 commit comments