Esempio n. 1
0
 /**
  * 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;
 }
Esempio n. 2
0
 /**
  * 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;
 }