public void setShowSearchKey ( boolean show ) { mShowSearchKey = show ; if ( show ) { mSearchInput . setImeOptions ( EditorInfo . IME_ACTION_SEARCH ) ; } else { mSearchInput . setImeOptions ( EditorInfo . IME_ACTION_NONE ) ; } }
Sets whether the the button with the search icon will appear in the soft - keyboard or not .