code: private void adaptNegativeButton() {
          if (negativeButton != null) {
              negativeButton.setText(negativeButtonText != null ?
                      negativeButtonText.toString().toUpperCase(Locale.getDefault()) : null);
              OnClickListenerWrapper onClickListener =
                      new OnClickListenerWrapper(negativeButtonListener, false, getDialog(),
                              DialogInterface.BUTTON_NEGATIVE);
              negativeButton.setOnClickListener(onClickListener);
              negativeButton.setVisibility(
                      !TextUtils.isEmpty(negativeButtonText) ? View.VISIBLE : View.GONE);
              adaptButtonBarContainerVisibility();
          }
      }
docs: Adapts the dialog's negative button.