/** * Set the background's corner radius of this SnackBar. * * @param radius The corner radius. * @return This SnackBar for chaining methods. */ public SnackBar backgroundRadius(int radius) { mBackground.setRadius(radius); return this; }
/** * Set the background color of this SnackBar. * * @param color The color of background. * @return This SnackBar for chaining methods. */ public SnackBar backgroundColor(int color) { mBackground.setColor(color); return this; }