title: Change line color in tabs - ActionBarSherlock
body: <p>I'm using ActionBarSherlock to make my app compatible with older devices. The implementation was easy, but now i need to style the default Holo blue line that you see under the tabs to a red line.</p>
  
  <p>I've been reading a few topics (<a href="https://stackoverflow.com/questions/10064411/change-actionbarsherlock-background-color">topic 1</a>, <a href="https://stackoverflow.com/questions/10044303/actionbarsherlock-change-actionbar-line-colour">topic 2</a>) here on SO and also the ABS doc (<a href="http://actionbarsherlock.com/theming.html" rel="nofollow noreferrer">link</a>), but i can't get it to work.</p>
  
  <p>This is what i have so far.</p>
  
  <p>In my AndroidManifest.xml i added this line to the <code>application</code> tag.</p>
  
  <pre><code>&lt;application
      android:icon="@drawable/ic_launcher"
      android:label="@string/app_name"
      android:theme="@style/Theme.Sherlock" &gt; &lt;!-- SET THE DEFAULT THEME --&gt;
  </code></pre>
  
  <p>Then in <code>res/values/styles.xml</code> i have:</p>
  
  <pre><code>&lt;resources&gt;
      &lt;style name="AppTheme" parent="android:Theme.Light" /&gt;
  
      &lt;style name="Theme.MyTheme" parent="Theme.Sherlock"&gt;
          &lt;item name="actionBarStyle"&gt;@style/Widget.MyTheme.ActionBar&lt;/item&gt;
          &lt;item name="android:actionBarStyle"&gt;@style/Widget.MyTheme.ActionBar&lt;/item&gt;
      &lt;/style&gt;
  
      &lt;style name="Widget.MyTheme.ActionBar" parent="Widget.Sherlock.ActionBar"&gt;
          &lt;item name="android:background"&gt;#ff000000&lt;/item&gt;
          &lt;item name="background"&gt;#ff000000&lt;/item&gt;
      &lt;/style&gt;
  &lt;/resources&gt;
  </code></pre>
  
  <p>But when i run my app, then i still see the default blue line color.</p>
  
  <p>What am i doing wrong?</p>
  
  <hr>
  
  <p><strong>EDIT</strong></p>
  
  <p><strong>Read this if you want to fully style your ActionBarSherlock!</strong></p>
  
  <p>I found an answer here on SO which gave the following link:
  <a href="http://jgilfelt.github.com/android-actionbarstylegenerator" rel="nofollow noreferrer">http://jgilfelt.github.com/android-actionbarstylegenerator</a></p>
  
  <p>It's an easy generator which generates all the needed files for a fully customized ABS! All you have to do is copy the generated files into the appropiate folders and you're set!</p>
  
  <p>Don't forget to enable the style (you'll have to enter a <strong>style name</strong> in the generator) in your AndroidManifest. For that, see the answer below.</p>