public void reset(){
  unfocusSearchField();
  mCb.clearSearchResult();
  mInput.setText("");
  mInputMethodManager.hideSoftInputFromWindow(mInput.getWindowToken(),0);
}

public void reset ( ) { unfocusSearchField ( ) ; mCb . clearSearchResult ( ) ; mInput . setText ( "" ) ; mInputMethodManager . hideSoftInputFromWindow ( mInput . getWindowToken ( ) , 0 ) ; }
resets the search bar state .
