code: private View inflateButtonBar() {
          ViewGroup rootView = getRootView();
  
          if (rootView != null) {
              LayoutInflater layoutInflater = LayoutInflater.from(getContext());
              buttonBarContainer = (ViewGroup) layoutInflater
                      .inflate(R.layout.button_bar_container, rootView, false);
              buttonBarDivider = buttonBarContainer.findViewById(R.id.button_bar_divider);
              rootView.addView(buttonBarContainer);
              View view = layoutInflater
                      .inflate(R.layout.horizontal_button_bar, buttonBarContainer, false);
              buttonBarContainer.addView(view);
              nextButton = view.findViewById(android.R.id.button1);
              finishButton = view.findViewById(android.R.id.button2);
              backButton = view.findViewById(android.R.id.button3);
              return buttonBarContainer;
          }
  
          return null;
      }
docs: Inflates the layout, which is used to show the dialog's buttons.
  
  @return The view, which has been inflated, as an instance of the class {@link View} or null,
  if no view has been inflated