Add cross-fade to setup flow

b/14164262

Change-Id: I41fe0bf5661d9f7a2b5051604c0b6dbfc4506414
This commit is contained in:
Tony Mantler 2014-04-18 14:54:55 -07:00
parent 6529f2c99d
commit b5fd6b8905

View File

@ -500,6 +500,7 @@ public class AccountSetupFinal extends AccountSetupActivity
}
f.setState(mState);
final FragmentTransaction ft = getFragmentManager().beginTransaction();
ft.setCustomAnimations(R.anim.fade_in, R.anim.fade_out, R.anim.fade_in, R.anim.fade_out);
ft.replace(R.id.setup_fragment_container, f, CONTENT_FRAGMENT_TAG);
if (addToBackstack) {
ft.addToBackStack(backstackTag);