|
|
@@ -122,22 +122,15 @@ public class ConfirmDialog extends TextDialog<ICustomConfirmListener<ConfirmDial
|
|
|
|
|
|
imageViewClose.setVisibility(isAppReviewType ? View.VISIBLE : View.GONE);
|
|
|
textViewTitle.setVisibility(titleStringId == R.string.empty_string ? View.GONE : View.VISIBLE);
|
|
|
- textViewPositiveButtonText.setVisibility(positiveButtonLabel == R.string.empty_string ? View.GONE : View.VISIBLE);
|
|
|
- textViewNegativeButtonText.setVisibility(negativeButtonLabel == R.string.empty_string ? View.GONE : View.VISIBLE);
|
|
|
-
|
|
|
|
|
|
textViewPositiveButtonText.setText(positiveButtonLabel == R.string.empty_string ? R.string.confirm : positiveButtonLabel);
|
|
|
textViewNegativeButtonText.setText(negativeButtonLabel == R.string.empty_string ? R.string.cancel : negativeButtonLabel);
|
|
|
- textViewPositiveButtonText.setText(positiveButtonLabel == R.string.empty_string ? R.string.confirm : positiveButtonLabel);
|
|
|
-
|
|
|
|
|
|
if (titleStringId != R.string.empty_string) {
|
|
|
textViewTitle.setText(titleStringId);
|
|
|
}
|
|
|
-
|
|
|
textViewContents.setText(text);
|
|
|
|
|
|
-
|
|
|
//왼쪽 클릭
|
|
|
textViewNegativeButtonText.setOnClickListener(view1 -> {
|
|
|
if (null != getCustomListener()) {
|