title: SearchView doesn't expand full width
body: <p>I have the next result :</p>
  
  <p><img src="https://i.stack.imgur.com/OGfMM.png" alt="enter image description here"></p>
  
  <blockquote>
    <p>menu.xml</p>
  </blockquote>
  
  <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/action_search"
          android:actionLayout="@layout/my_search_view"
          android:icon="@android:drawable/ic_menu_search"
          android:title="Search"
          app:actionViewClass="android.support.v7.widget.SearchView"
          app:showAsAction="always|collapseActionView"/&gt;
  
  &lt;/menu&gt;
  </code></pre>
  
  <blockquote>
    <p>my_search_view.xml</p>
  </blockquote>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;SearchView xmlns:android="http://schemas.android.com/apk/res/android"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:maxWidth="10000dp"/&gt;
  </code></pre>
  
  <blockquote>
    <p>Activity</p>
  </blockquote>
  
  <pre><code>@Override
  public boolean onCreateOptionsMenu(Menu menu)
  {
      getMenuInflater().inflate(R.menu.menu, menu);
      MenuItem searchItem = menu.findItem(R.id.action_search);
      SearchView searchView = (SearchView) MenuItemCompat.getActionView(searchItem);
      searchView.setQueryHint("Поиск");
      searchView.setOnQueryTextListener(this);
  
  
      // Get the SearchView and set the searchable configuration
      SearchManager searchManager = (SearchManager) getSystemService(Context.SEARCH_SERVICE);
  
      searchView.setSearchableInfo(searchManager.getSearchableInfo(getComponentName()));
  
  
      ActionBar.LayoutParams params = new ActionBar.LayoutParams(ActionBar.LayoutParams.MATCH_PARENT, ActionBar.LayoutParams.MATCH_PARENT);
      searchView.setLayoutParams(params);
      searchView.setIconified(false);
  
      MenuItemCompat.expandActionView(searchItem);
      return super.onCreateOptionsMenu(menu);
  }
  </code></pre>
  
  <p><strong>I want that X(close action) will located on right of the screen.</strong></p>