Activity 切换动画
https://www.jianshu.com/p/4c65790430ff
或者:
在第二个Activity中加上:
@Override protected void onCreate(Bundle savedInstanceState) { Log.d(TAG, "onCreate: "); super.onCreate(savedInstanceState); overridePendingTransition(R.anim.anima_second_activity, R.anim.activity_first_activity); setContentView(R.layout.activity_travel); EventBus.getDefault().register(this); SetStatusBar(); FindView(); InitData(); InitView(); SetListener(); }