title: Android ActionBar compatibility: MenuItem.setActionView(View)
body: <p>I'm using the appcompat7 lib for ActionBar backwards compatibility. Now I have a <code>MenuItem</code> that I retrieve, and then want to set an <code>ImageView myView</code> as its icon.</p>
  
  <p>The way how to do it from API level 11 is:</p>
  
  <pre><code>MenuItem menuItemRefresh = menu.findItem(R.id.refresh);
  menuItemRefresh.setActionView(myView);
  </code></pre>
  
  <p>For API levels lower than 11 this doesn't work, the second line will show an error. Is there an option to do this in compatibility mode?</p>