打开时:
Intent intent = new Intent(this, SearchActivity.class);
startActivity(intent);
// activity开启无动画
overridePendingTransition(0, 0);
返回时:
@Override protected void onPause() { overridePendingTransition(0,0); super.onPause(); }
关闭时:
finish();
overridePendingTransition(0,0);