title: Prevent activity to reload when clicking on SearchView
body: <p>I have an activity with the new Toolbar. In this toolbar i have only one icon... my SearchView icon. When i click on that icon it opens an EditText in the Toolbar and im able to write what im looking for. The problem is that when i click on Search icon, the content of my Activity (FrameLayout with fragment) is reloaded. </p>
  
  <p>EDIT:</p>
  
  <p>plus: when click on icon, it reloads the activity and open EditText, after that the Activity SearchResult is called, and if i press the back button in that activity i return to the MainActivity and the searchview is still opened.</p>
  
  <p>How to prevent that?</p>
  
  <p>Thats my Manifest part of search (MainActivity has the icon):</p>
  
  <pre><code>&lt;meta-data
              android:name="android.app.default_searchable"
              android:value=".activity.SearchResult_" /&gt;
  
          &lt;activity
              android:name=".activity.MainActivity_"
              android:configChanges="orientation|keyboardHidden|screenSize"
              android:label="@string/app_name"
              android:screenOrientation="portrait" &gt;
          &lt;/activity&gt;
          &lt;activity
              android:name=".activity.SearchResult_"
              android:label="@string/title_activity_search_result"
              android:screenOrientation="portrait" &gt;
              &lt;meta-data
                  android:name="android.app.searchable"
                  android:resource="@xml/searchable" /&gt;
  
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.SEARCH" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
  </code></pre>
  
  <p>Thast my OnCreateOptionsMenu:</p>
  
  <pre><code>   @Override
      public boolean onCreateOptionsMenu(Menu menu) {
          // Inflate the menu; this adds items to the action bar if it is present.
          getMenuInflater().inflate(R.menu.menu_main, menu);
  
          MenuItem searchItem = menu.findItem(R.id.action_search);
  
          SearchManager searchManager = (SearchManager) MainActivity.this.getSystemService(Context.SEARCH_SERVICE);
  
          SearchView.OnQueryTextListener queryTextListener = new SearchView.OnQueryTextListener()
          {
              public boolean onQueryTextChange(String newText)
              {
                  Log.d("Query", newText);
                  return true;
              }
  
              public boolean onQueryTextSubmit(String query)
              {
                  Log.d("Search", query);
                  SearchResult_.intent(MainActivity.this).extra("query", query).start();
                  return true;
              }
          };
  
          SearchView searchView = null;
          if (searchItem != null) {
              searchView = (SearchView) MenuItemCompat.getActionView(searchItem);
          }
          if (searchView != null) {
              searchView.setSearchableInfo(searchManager.getSearchableInfo(MainActivity.this.getComponentName()));
          }
  
          return super.onCreateOptionsMenu(menu);
      }
  </code></pre>