title: AppCompat v21, MenuInflater and showAsAction menu preference
body: <p>I'm migrating my app to the newest v7 Support Library with material design support. </p>
  
  <p>I've a simple menu that I want to show in my <code>ActionBar</code>.</p>
  
  <pre><code>&lt;menu xmlns:android="http://schemas.android.com/apk/res/android" &gt;
      &lt;item
          android:id="@+id/platformselect_button_settings"
          android:icon="@drawable/ic_action_settings"
          android:orderInCategory="1"
          android:showAsAction="always"
          android:title="@string/menu_settings"/&gt;
  &lt;/menu&gt;
  </code></pre>
  
  <p>The problem is that the showAsAction preference is ignored, what I have to do to make it work is force the preference in <code>onCreateOptionsMenu</code> method:</p>
  
  <pre><code>@Override
  public boolean onCreateOptionsMenu(Menu menu){
      getMenuInflater().inflate(R.menu.platformselect_overflow_menu, menu);
      for(int i = 0;i&lt;menu.size();i++){
          MenuItemCompat.setShowAsAction(menu.getItem(i), MenuItemCompat.SHOW_AS_ACTION_ALWAYS);
      }
      return super.onCreateOptionsMenu(menu);
  }
  </code></pre>
  
  <p>Am I doing something wrong? Why is the preference stored in XML ignored?</p>