title: Why overridePendingTransition does not take effect when I jump from Fragment to a new Activity?
body: <p>The first activity contains a Fragment, and there's a button inside the fragment, and when I click this button, I wish to jump to a new Activity with different animation. So I do it like this in the Fragment:</p>
  
  <pre><code>          mButton.setOnClickListener(new OnClickListener() {
                 @Override
                 public void onClick(View v) {
                       Intent intent = new Intent(getActivity(), NewActivity.class);
                       getActivity().startActivity(intent);
                       getActivity().overridePendingTransition(
                             R.anim.forward_activity_move_in,
                             R.anim.forward_activity_move_out);
                 });
  </code></pre>
  
  <p>However the new animation does not take effect when moves to the new Activity, so I wonder maybe I do it wrong. I hope someone can help me, thx a lot:)</p>