code: private void inflateTitleContainer() {
          if (titleContainer == null) {
              titleContainer = new RelativeLayout(getContext());
              titleContainer.setId(R.id.title_container);
              titleContainer.setLayoutParams(
                      new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT,
                              ViewGroup.LayoutParams.WRAP_CONTENT));
          } else {
              titleContainer.removeAllViews();
          }
      }
docs: Inflates the container, which contains the dialog's title, if it is not yet inflated.