title: Can't cast SearchView in Fragment (AppCompat)
body: <p>I'm trying to listen to text changes in my SearchView from a Fragment but it fails on this line: <code>menu.findItem(R.id.action_search);</code></p>
  
  <p>Exception:</p>
  
  <pre><code>        java.lang.ClassCastException: android.support.v7.internal.view.menu.MenuItemWrapperJB cannot be cast to android.support.v7.widget.SearchView
          at se.xxx.xxx.FragmentList.onCreateOptionsMenu(FragmentList.java:155)
  </code></pre>
  
  <p>My onCreateOptionsMenu (in Fragment):</p>
  
  <pre><code>     @Override
    public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
      super.onCreateOptionsMenu(menu, inflater);
      inflater.inflate(R.menu.main, menu);
    SearchView sv = (SearchView) menu.findItem(R.id.action_search); //crashes here
  
      sv.setOnQueryTextListener(new SearchView.OnQueryTextListener() {
          @Override
          public boolean onQueryTextSubmit(String s) {
              return false;
          }
  
          @Override
          public boolean onQueryTextChange(String s) {
              adapter.getFilter().filter(s.toString());
              return false;
          }
      });
  }
  </code></pre>
  
  <p>menu layout xml (main.xml):</p>
  
  <pre><code>    &lt;menu xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:app="http://schemas.android.com/apk/res-auto"
  xmlns:tools="http://schemas.android.com/tools"
  tools:context="se.xxx.xxx.MainActivity" &gt;
  
  &lt;item
      app:actionViewClass="android.support.v7.widget.SearchView"
      android:id="@+id/action_search"
      android:icon="@android:drawable/ic_menu_search"
      android:title="blabla"
      app:showAsAction="always"
     /&gt;
  </code></pre>
  
  <p></p>