Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>From the <a href="http://actionbarsherlock.com/theming.html" rel="nofollow noreferrer">ActionBarSherlock website</a></p> <p><strong>Parent Themes</strong></p> <blockquote> <p>In order for the custom action bar implementation to function your application must use Theme.Sherlock, Theme.Sherlock.Light, or Theme.Sherlock.Light.DarkActionBar, or your custom theme must use one of the aforementioned as its parent.</p> </blockquote> <p><strong>Mirrored Attributes</strong></p> <blockquote> <p>Due to limitations in Android's theming system any theme customizations must be declared in two attributes. The normal android-prefixed attributes apply the theme to the native action bar and the unprefixed attributes are for the custom implementation...</p> </blockquote> <p>In short, that means you need to leave out the <code>android:</code> prefix when you're styling the <code>ActionBar</code>.</p> <p><strong>Theming the title color</strong></p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;resources&gt; &lt;style name="YOURTHEME" parent="Theme.Sherlock.Light"&gt; &lt;item name="android:actionBarStyle"&gt;@style/YOURTHEME.ActionBarStyle&lt;/item&gt; &lt;item name="actionBarStyle"&gt;@style/YOURTHEME.ActionBarStyle&lt;/item&gt; &lt;/style&gt; &lt;style name="YOURTHEME.ActionBarStyle" parent="Widget.Sherlock.Light.ActionBar"&gt; &lt;item name="android:titleTextStyle"&gt;@style/YOURTHEME.ActionBar.TitleTextStyle&lt;/item&gt; &lt;item name="titleTextStyle"&gt;@style/YOURTHEME.ActionBar.TitleTextStyle&lt;/item&gt; &lt;/style&gt; &lt;style name="YOURTHEME.ActionBar.TitleTextStyle" parent="TextAppearance.Sherlock.Widget.ActionBar.Title"&gt; &lt;item name="android:textColor"&gt;@color/YOUR_COLOR&lt;/item&gt; &lt;item name="textColor"&gt;@color/YOUR_COLOR&lt;/item&gt; &lt;/style&gt; &lt;/resources&gt; </code></pre> <p><strong>NOTE</strong> </p> <p>I haven't tested this. Also, <a href="http://mattgemmell.com/2008/12/08/what-have-you-tried/" rel="nofollow noreferrer">what have you tried?</a> You should searching before posting on <a href="https://stackoverflow.com/faq#questions">SO</a> in the future.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload