title: android manifest action bar logo
body: <p>This is pretty simple but it's been causing me grief. I want my action bar to display the @drawable resource specified by android:logo within the manifest:</p>
  
  <pre><code>    &lt;application
              android:allowBackup="true"
              android:label="@string/app_name"
              android:icon="@drawable/logo"&gt;
          &lt;activity
              android:name=".MainActivity"
              android:theme="@style/CustomActionBarTheme"&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
  &lt;/application&gt;
  </code></pre>
  
  <p>If I remove the android:theme attribute the logo appears but the app immediately  crashes due to some illegal state exception at         <code>super.onCreate(savedInstanceState);</code> in the main activity. If I leave the theme the action bar is blank with a background color set in the activity.</p>
  
  <p>Theme:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;resources&gt;
      &lt;!-- the theme applied to the application or activity --&gt;
      &lt;style name="CustomActionBarTheme"
          parent="@style/Theme.AppCompat.Light.DarkActionBar"&gt;
          &lt;item name="android:actionBarStyle"&gt;@style/MyActionBar&lt;/item&gt;
          &lt;item name="actionBarStyle"&gt;@style/MyActionBar&lt;/item&gt;
      &lt;/style&gt;
  
  &lt;!-- ActionBar styles --&gt;
  &lt;style name="MyActionBar"
      parent="@style/Widget.AppCompat.Light.ActionBar.Solid.Inverse"&gt;
      &lt;item name="android:icon"&gt;@drawable/logo&lt;/item&gt;
      &lt;item name="android:background"&gt;#F7430C&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p></p>
  
  <p>Activity setting background:</p>
  
  <pre><code>public class MainActivity extends ActionBarActivity {
  
  private ActionBar bar;
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
  
      }
  }
  </code></pre>
  
  <p>All I need is an action bar with the logo and a background color #F7430C. </p>