code: public void setChromeColor(int color) {
      if (chromeColor != color) {
        viewBorderPaint.setColor(color);
        chromeColor = color;
        invalidate();
      }
    }
docs: Set the view border chrome color.