title: add progress dialog while fragment transition
body: <p>I try to show A  <code>ProgressDialog</code> while switching  one <code>Fragment</code> to another <code>Fragment</code> such as message "please wait..." or "loading page..." etc I need to add this message because loading time of <code>Fragment</code> even I have added <code>getSupportFragmentManager().executePendingTransactions();</code> after commit my <code>Fragment</code>  transition, I have try as below :</p>
  
  <pre><code>    ProgressDialog pd=    ProgressDialog.show(getActivity(), "Please Wait","loading page...");   
      getFragmentManager().beginTransaction().replace(R.id.frame_container, new TertanggungPolis()).
      setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN).commit();
      pd.dismiss();
  </code></pre>
  
  <p>But this code seems not working, becase there's no <code>ProgressDialog</code> that shown in my application, so is there something wrong with my code or my method? thank you</p>