title: Android searchview hide keyboard but no losing focus
body: <p>I've a PDA with Android and barcode scanner integrated. I would to hide always keyboard to use barcode scanner. I've a <code>searchview</code> with an editetext field to search into my products through my app. I need to close keyboard but I haven't losing focus on search field. There is any way to this feature?</p>
  
  <p>I'm using searchView.clearFocus() but I lose focus</p>
  
  <pre><code>@Override
  public boolean onCreateOptionsMenu(Menu menu) {
      MenuInflater inflater = getMenuInflater();
      inflater.inflate(R.menu.menu_home, menu);
      SearchManager manager = (SearchManager) getSystemService(Context.SEARCH_SERVICE);
      SearchView searchView = (SearchView) menu.findItem(R.id.search).getActionView();
      searchView.setSearchableInfo(manager.getSearchableInfo(getComponentName())); searchView.setIconified(false);
      searchView.setSubmitButtonEnabled(true);
      searchView.clearFocus();
      return true;
  }
  </code></pre>