code: public final void setPreviewBorderColor(@ColorInt final int borderColor) {
          this.previewBorderColor = borderColor;
  
          if (previewLoader != null) {
              previewLoader.setBorderColor(borderColor);
          }
  
          adaptPreviewView();
      }
docs: Sets the border color of the preview of the preference's color.
  
  @param borderColor
  The border color, which should be set, as an {@link Integer} value