library/src/main/java/de/mrapp/android/view/Chip.java
public final void setClosable(final boolean closable) {
        this.closable = closable;

        if (closable) {
            closeButton.setVisibility(View.VISIBLE);
            textView.setPadding(textView.getPaddingLeft(), textView.getPaddingTop(), 0,
                    textView.getPaddingBottom());
        } else {
            closeButton.setVisibility(View.GONE);
            textView.setPadding(textView.getPaddingLeft(), textView.getPaddingTop(),
                    getResources().getDimensionPixelSize(R.dimen.chip_horizontal_padding),
                    textView.getPaddingBottom());
        }
    }
public final void setClosable(final boolean closable) {
        this.closable = closable;

        if (closable) {
            closeButton.setVisibility(View.VISIBLE);
            textView.setPadding(textView.getPaddingLeft(), textView.getPaddingTop(), 0,
                    textView.getPaddingBottom());
        } else {
            closeButton.setVisibility(View.GONE);
            textView.setPadding(textView.getPaddingLeft(), textView.getPaddingTop(),
                    getResources().getDimensionPixelSize(R.dimen.chip_horizontal_padding),
                    textView.getPaddingBottom());
        }
    }
Sets, whether the chip is closable, or not.

@param closable
True, if the chip should be closable, false otherwise