/** * Sets the text will be single-line or not. * * @param b * @return This SnackBar for chaining methods. */ public SnackBar singleLine(boolean b) { mText.setSingleLine(b); return this; }