Experiment: animation

master
M66B 2 months ago
parent 7fa6ecaef2
commit 85c9538419

@ -9016,7 +9016,8 @@ public class FragmentMessages extends FragmentBase
return AnimationUtils.loadAnimation(getContext(), left ? R.anim.leave_to_right : R.anim.leave_to_left); return AnimationUtils.loadAnimation(getContext(), left ? R.anim.leave_to_right : R.anim.leave_to_left);
} }
} }
} } else if (false)
return AnimationUtils.loadAnimation(getContext(), enter ? android.R.anim.fade_in : android.R.anim.fade_out);
return super.onCreateAnimation(transit, enter, nextAnim); return super.onCreateAnimation(transit, enter, nextAnim);
} }

Loading…
Cancel
Save