code: private void adaptMessageContainerVisibility() {
          if (titleContainer != null) {
              boolean visible = isCustomMessageUsed() || !TextUtils.isEmpty(message);
  
              if (visible) {
                  messageContainer.setVisibility(View.VISIBLE);
                  notifyOnAreaShown(Area.MESSAGE);
              } else {
                  messageContainer.setVisibility(View.GONE);
                  notifyOnAreaHidden(Area.MESSAGE);
              }
          }
      }
docs: Adapts the visibility of the parent view of the text view, which is used to show the message
  of the dialog.