code: private void obtainProgressFormat() {
          String progressFormat;
  
          try {
              progressFormat = ThemeUtil.getString(this, R.attr.progressFormat);
          } catch (NotFoundException e) {
              progressFormat = getString(R.string.progress_format);
          }
  
          setProgressFormat(progressFormat);
      }
docs: Obtains the string, which is used to format the progress, which is shown, when the activity
  is used as a wizard, from the activity's theme.