title: Icons not showing up in Action bar
body: <p>I am trying to get an action bar within my android app to show up with icons. No matter what I do, I only see the overflow icon with a dropdown, while I want to see the Home and Logout icons next to each other on the action bar menu. I have read through most posts on SO for a solution but am unable to find a solution. Can anyone please help ?</p>
  
  <p>Below is my code :</p>
  
  <p><strong>AndroidManifest.xml</strong></p>
  
  <pre><code>&lt;application
      android:name=".application.MySampleApplication"
      android:icon="@drawable/letter"
      android:label="My Sample"
      android:theme="@android:style/Theme.WithActionBar"&gt;
  </code></pre>
  
  <p><strong>Menu_Main.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;menu xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"&gt;
      &lt;item
          android:id="@+id/action_logout"
          android:icon="@drawable/logout"
          android:title="@string/logout"
          android:orderInCategory="0"
          app:showAsAction="always" /&gt;
      &lt;item
          android:id="@+id/action_home"
          android:title="@string/gohome"
          android:icon="@drawable/ulogo"
          android:orderInCategory="0"
          app:showAsAction="always" /&gt;
  &lt;/menu&gt;
  </code></pre>
  
  <p><strong>MainActivity.java</strong></p>
  
  <pre><code>@Override
  public boolean onCreateOptionsMenu(Menu menu) {
      MenuInflater inflater = getMenuInflater();
      inflater.inflate(R.menu.menu_main, menu);
      return super.onCreateOptionsMenu(menu);
  }
  
  @Override
  public boolean onOptionsItemSelected(MenuItem item) {
      int id = item.getItemId();
      if (id == R.id.action_logout) {
          logout();
          return true;
      }
      if (id == R.id.action_home) {
          goHome();
          return true;
      }
      return super.onOptionsItemSelected(item);
  }
  </code></pre>
  
  <p><strong>How it shows up now</strong>
  <a href="https://i.stack.imgur.com/3Ityy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3Ityy.png" alt="How it shows up now"></a></p>
  
  <p><strong>How I want it to show up</strong></p>
  
  <p><a href="https://i.stack.imgur.com/evsbW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/evsbW.png" alt="Need to show"></a></p>