library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java
public void setShowSearchKey(boolean show) {
        mShowSearchKey = show;
        if (show) {
            mSearchInput.setImeOptions(EditorInfo.IME_ACTION_SEARCH);
        } else {
            mSearchInput.setImeOptions(EditorInfo.IME_ACTION_NONE);
        }
    }
public void setShowSearchKey(boolean show) {
        mShowSearchKey = show;
        if (show) {
            mSearchInput.setImeOptions(EditorInfo.IME_ACTION_SEARCH);
        } else {
            mSearchInput.setImeOptions(EditorInfo.IME_ACTION_NONE);
        }
    }
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.

@param show to show the search button in
the soft-keyboard.
Sets whether the the button with the search icon will appear in the soft - keyboard or not .