code: private void adaptButtonTextColor() {
          if (buttonTextColor != null) {
              if (positiveButton != null) {
                  positiveButton.setTextColor(buttonTextColor);
              }
  
              if (neutralButton != null) {
                  neutralButton.setTextColor(buttonTextColor);
              }
  
              if (negativeButton != null) {
                  negativeButton.setTextColor(buttonTextColor);
              }
          }
      }
docs: Adapts the text color of the dialog's buttons.