private void adaptNeutralButton ( ) { if ( neutralButton != null ) { neutralButton . setText ( neutralButtonText != null ? neutralButtonText . toString ( ) . toUpperCase ( Locale . getDefault ( ) ) : null ) ; OnClickListenerWrapper onClickListener = new OnClickListenerWrapper ( neutralButtonListener , false , getDialog ( ) , DialogInterface . BUTTON_NEUTRAL ) ; neutralButton . setOnClickListener ( onClickListener ) ; neutralButton . setVisibility ( ! TextUtils . isEmpty ( neutralButtonText ) ? View . VISIBLE : View . GONE ) ; adaptButtonBarContainerVisibility ( ) ; } }
Adapts the dialog s neutral button .