Intent intent =new Intent(MainActivity.this,second.class); startActivity(intent); overridePendingTransition(0, 0); 即可