title: Setting background color of android actionbar
body: <p>I am operating with the compatibility library v7.</p>
  
  <p>I am just trying to set the color of my actionbar (for Android 2.1 and above - though I run Android 4.4.2) to a solid color.</p>
  
  <p>However the color does not change. It remains the same.</p>
  
  <p>I have also tried creating a solid drawable with the color but that also does not change.</p>
  
  <p>Finally I tested if I could change the backgroudn of my layout and I could - it must be something about the actionbar background which I'm not getting.</p>
  
  <p>Here is the code:</p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;resources xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;style name="CustomActionBarTheme"
             parent="@style/Theme.AppCompat.Light.DarkActionBar"&gt;
  
          &lt;!-- Support library compatibility --&gt;
          &lt;item name="actionBarStyle"&gt;@style/MyActionBar&lt;/item&gt;
      &lt;/style&gt;
  
      &lt;style name="MyActionBar" parent="@style/Widget.AppCompat.ActionBar"&gt;
  
           &lt;item name="android:background"&gt;#0000ff&lt;/item&gt;  
  
      &lt;/style&gt;
  &lt;/resources&gt;
  </code></pre>