Merge "Add cross-fade to setup flow" into ub-mail-algol
This commit is contained in:
commit
f501d41c7b
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user