title: Sherlock ActionBar Styles
body: <p>I want to style my action bar to have a background color throughout my application. Currently i use </p>
  
  <pre><code>getSupportActionBar().setBackgroundDrawable(getResources().getDrawable(R.drawable.bg_top))
  </code></pre>
  
  <p>in each of my activities, but i want this to be globally defined. Secondly i don't want the icon in each activity ActionBar. How can this be achieved ? </p>
  
  <h2>Kind Regards</h2>
  
  <p>Here is my Style. I want the title to remain but the icon to be hidden</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  </code></pre>
  
  <p></p>
  
  <pre><code>&lt;style name="Theme.MyTheme" parent="Theme.Sherlock.Light.DarkActionBar"&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;@drawable/bg_top&lt;/item&gt;
      &lt;item name="background"&gt;@drawable/bg_top&lt;/item&gt;
      &lt;item name="android:titleTextStyle"&gt;@style/Theme.ActionBar.TitleTextStyle&lt;/item&gt;
      &lt;item name="titleTextStyle"&gt;@style/Theme.ActionBar.TitleTextStyle&lt;/item&gt;
      &lt;item name="android:displayOptions"&gt;useLogo&lt;/item&gt;
      &lt;item name="displayOptions"&gt;useLogo&lt;/item&gt;
  &lt;/style&gt;
  
  &lt;style name="Theme.ActionBar.TitleTextStyle" parent="TextAppearance.Sherlock.Widget.ActionBar.Title"&gt;
      &lt;item name="android:textColor"&gt;@color/white&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p></p>