title: Cannot Add an ActionView to the Actionbar using ActionBarCompat from Holoeverywhere
body: <p>I have updated holoeverywhere version in my project so I not longer use ActionBarSherlock (ABS) but ActionBarCompact (ABC)</p>
  
  <p>The problem I have is when using MenuItemCompat.getActionView(aMenuItem) I always get a null value. </p>
  
  <p>The exact code I have is:</p>
  
  <pre><code>public boolean onCreateOptionsMenu(Menu menu) {
  getMenuInflater().inflate(R.menu.dashboard_menu, menu);
  
  _itemNotifications = menu.findItem(R.id.notifications);
  _containerViewItemNotifications = (LinearLayout) MenuItemCompat.getActionView(_itemNotifications);
  _viewItemNotifications = (TextView) _containerViewItemNotifications.findViewById(R.id.ActionViewDashboard);
  _containerViewItemNotifications.setOnClickListener(new OnClickListener() {
      @SuppressLint("NewApi")
      public void onClick(View v) {
      if (android.os.Build.VERSION.SDK_INT &gt;= 16) {
          _viewItemNotifications.setBackground(getResources().getDrawable(R.drawable.qnotificacion_disbled));
      } else {
          _viewItemNotifications.setBackgroundDrawable(getResources().getDrawable(R.drawable.qnotificacion_disbled));
      }
      _viewItemNotifications.setText(R.string.empty);
      onOptionsItemSelected(_itemNotifications);
      }
  });
  
  _itemAnotateResult = menu.findItem(R.id.menu_anotate_result);
  
  return super.onCreateOptionsMenu(menu);
  }
  </code></pre>
  
  <p>where MenuItemCompat.getActionView(_itemNotifications) is always a null value</p>
  
  <p>My XML menu file is like this:</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/notifications"
      android:actionLayout="@layout/actionview_dashboard"
      android:title="@string/customize"        
      app:showAsAction="ifRoom"/&gt;
  &lt;item
      android:id="@+id/menu_anotate_result"
      android:title="@string/anotate"
      android:visible="false"
      app:showAsAction="ifRoom|withText"/&gt;
  
  &lt;/menu&gt;
  </code></pre>
  
  <p>How can I overcome this? I have tried to follow a similar approach to what is explained for SearchViewItem on android's documentation but no success at all</p>
  
  <p>Thanks in advance.</p>