public void setEditTextShouldWrapContent(boolean enabled) {
    """
	Determine whether the internal {@link EditText} should match the full height of the {@link RichEditorView}
	initially or if it should wrap its content in height and expand to fill it as the user types.
	<p>
	Note: The {@link EditText} will always match the parent (i.e. the {@link RichEditorView} in width.
	Additionally, the {@link ListView} containing mention suggestions will always fill the rest
	of the height in the {@link RichEditorView}.
	
	@param enabled true if the {@link EditText} should wrap its content in height
    """
        mEditTextShouldWrapContent = enabled;
        if (mMentionsEditText == null) {
            return;
        }
        mPrevEditTextParams = mMentionsEditText.getLayoutParams();
        int wrap = (enabled) ? LayoutParams.WRAP_CONTENT : LayoutParams.MATCH_PARENT;
        if (mPrevEditTextParams != null && mPrevEditTextParams.height == wrap) {
            return;
        }
        ViewGroup.LayoutParams newParams = new LayoutParams(LayoutParams.MATCH_PARENT, wrap);
        mMentionsEditText.setLayoutParams(newParams);
        requestLayout();
        invalidate();
    }
public void setEditTextShouldWrapContent(boolean enabled) {
        mEditTextShouldWrapContent = enabled;
        if (mMentionsEditText == null) {
            return;
        }
        mPrevEditTextParams = mMentionsEditText.getLayoutParams();
        int wrap = (enabled) ? LayoutParams.WRAP_CONTENT : LayoutParams.MATCH_PARENT;
        if (mPrevEditTextParams != null && mPrevEditTextParams.height == wrap) {
            return;
        }
        ViewGroup.LayoutParams newParams = new LayoutParams(LayoutParams.MATCH_PARENT, wrap);
        mMentionsEditText.setLayoutParams(newParams);
        requestLayout();
        invalidate();
    }
public void setEditTextShouldWrapContent ( boolean enabled ) { mEditTextShouldWrapContent = enabled ; if ( mMentionsEditText == null ) { return ; } mPrevEditTextParams = mMentionsEditText . getLayoutParams ( ) ; int wrap = ( enabled ) ? LayoutParams . WRAP_CONTENT : LayoutParams . MATCH_PARENT ; if ( mPrevEditTextParams != null && mPrevEditTextParams . height == wrap ) { return ; } ViewGroup . LayoutParams newParams = new LayoutParams ( LayoutParams . MATCH_PARENT , wrap ) ; mMentionsEditText . setLayoutParams ( newParams ) ; requestLayout ( ) ; invalidate ( ) ; }
Determine whether the internal {@link EditText} should match the full height of the {@link RichEditorView}
initially or if it should wrap its content in height and expand to fill it as the user types.
<p>
Note: The {@link EditText} will always match the parent (i.e. the {@link RichEditorView} in width.
Additionally, the {@link ListView} containing mention suggestions will always fill the rest
of the height in the {@link RichEditorView}.

@param enabled true if the {@link EditText} should wrap its content in height
Determine whether the internal { @link EditText } should match the full height of the { @link RichEditorView } initially or if it should wrap its content in height and expand to fill it as the user types . <p > Note : The { @link EditText } will always match the parent ( i . e . the { @link RichEditorView } in width . Additionally the { @link ListView } containing mention suggestions will always fill the rest of the height in the { @link RichEditorView } .