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