@Override
  public View onCreateView(
      LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {

    Bundle args = getArguments();
    survey = args.getParcelable("survey");
    assert survey != null;
    boolean hasExtra = survey.hasExtra();

    int layout = hasExtra ? R.layout.survey_summary_withextra : R.layout.survey_summary;

    View rootView = inflater.inflate(layout, container, false);
    tCom = (TextView) rootView.findViewById(R.id.n_completate);
    tSki = (TextView) rootView.findViewById(R.id.n_omesse);
    tInc = (TextView) rootView.findViewById(R.id.n_incomplete);
    btnInvio = (Button) rootView.findViewById(R.id.btnInvio);
    wait = (ProgressBar) rootView.findViewById(R.id.waitForSave);

    if (hasExtra) {
      // todo: binding delle extra info, TBD
    }

    return rootView;
  }