title: How to add an icon to the ActionBar
body: <p>I am trying to add an icon to my ActionBar for the whole Appliction.</p>
  
  <p>I reference the CustomActionBarTheme in my Appication Tag in the manifest.</p>
  
  <p>My ActionBars are turning Blue but there is no Icon.</p>
  
  <p>Anybody have any ideas why?</p>
  
  <p>Thanks</p>
  
  <p>[Duplicate]
  <a href="https://stackoverflow.com/questions/26440279/show-icon-in-actionbar-toolbar-with-appcompat-v7-21">show icon in actionbar/toolbar with AppCompat-v7 21</a></p>
  
  <pre><code>&lt;application
          android:name=".NfcScannerApplication"
          android:icon="@drawable/ic_launcher"
          android:label="@string/app_name"
          android:theme="@style/CustomActionBarTheme"
          android:debuggable = "true" &gt;
  </code></pre>
  
  <p>.</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"&gt;
          &lt;item name="android:actionBarStyle"&gt;@style/MyActionBar&lt;/item&gt;
  
          &lt;!-- Support library compatibility --&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"&gt;
          &lt;item name="android:background"&gt;@color/cf_blue&lt;/item&gt;
          &lt;item name="android:icon"&gt;@drawable/ic_launcher&lt;/item&gt;
  
          &lt;!-- Support library compatibility --&gt;
          &lt;item name="background"&gt;@color/cf_blue&lt;/item&gt;
          &lt;item name="icon"&gt;@drawable/ic_launcher&lt;/item&gt;
      &lt;/style&gt;
  &lt;/resources&gt;
  </code></pre>