title: What is the alternative to getActionView() before API level11 in android?
body: <p><code>getActionView()</code> for action bar was introduced in <code>API 11</code>, If I want backward compatibility what is the alternative for <code>getActionView()</code> ?</p>
  
  <p>e.g.</p>
  
  <pre><code>public boolean onCreateOptionsMenu(Menu menu) {
     getMenuInflater().inflate(R.menu.action_bar_menu, menu);
  
     final MenuItem item = menu.findItem(R.id.menuitem);
     item.getActionView() //Works from API level 11
  
     return true;
  }
  </code></pre>