title: Can't get action view for ActionBar MenuItem using support library
body: <p>I recently switched from <a href="http://actionbarsherlock.com/" rel="nofollow">ActionBarSherlock</a> to the <a href="https://developer.android.com/topic/libraries/support-library/features.html#v7-appcompat" rel="nofollow">Android Support Library ActionBar</a>, and now I get a null on the action view of a spinner in the action bar.  </p>
  
  <p>Here's the code as suggested by the <a href="http://developer.android.com/guide/topics/ui/actionbar.html" rel="nofollow">docs</a>:</p>
  
  <pre><code>@Override
  public boolean onCreateOptionsMenu(Menu menu) { 
    MenuInflater inflater = getMenuInflater();
    inflater.inflate(R.menu.home_menu, menu); 
    MenuItem spinnerItem = menu.findItem(R.id.menuNavigateType);
    View view = MenuItemCompat.getActionView(spinnerItem);// !! view is NULL !!
          ...
  }
  </code></pre>
  
  <p>Here's <code>R.menu.home_menu</code>:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;menu xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:myapp="http://schemas.android.com/apk/res-auto"&gt; 
    ...
    &lt;item 
      android:id="@+id/menuNavigateType"
      myapp:showAsAction="always"
      myapp:actionViewClass="android.support.v7.widget.Spinner"  /&gt;
       ...
  &lt;/menu&gt;
  </code></pre>
  
  <p>How do I get my action view?</p>
  
  <p>Thanks.</p>