Merge "Add cross-fade to setup flow" into ub-mail-algol

This commit is contained in:
Tony Mantler 2014-04-18 22:37:32 +00:00 committed by Android (Google) Code Review
commit f501d41c7b

View File

@ -500,6 +500,7 @@ public class AccountSetupFinal extends AccountSetupActivity
} }
f.setState(mState); f.setState(mState);
final FragmentTransaction ft = getFragmentManager().beginTransaction(); 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); ft.replace(R.id.setup_fragment_container, f, CONTENT_FRAGMENT_TAG);
if (addToBackstack) { if (addToBackstack) {
ft.addToBackStack(backstackTag); ft.addToBackStack(backstackTag);