code: private void adaptButtonBarDividerMargin() {
          if (buttonBarDivider != null) {
              LinearLayout.LayoutParams layoutParams =
                      (LinearLayout.LayoutParams) buttonBarDivider.getLayoutParams();
              layoutParams.leftMargin = buttonBarDividerMargin;
              layoutParams.rightMargin = buttonBarDividerMargin;
              buttonBarDivider.setLayoutParams(layoutParams);
          }
      }
docs: Adapts the left and right margin of the divider, which is shown above the dialog's buttons.