[Android开发笔记]-----做一个启动界面

  
  
  
  
  1. //从启动界面跳转到主界面 
  2.         new Handler().postDelayed(new Runnable() { 
  3.              
  4.             @Override 
  5.             public void run() { 
  6.                 Intent intent03 = new Intent(); 
  7.                 intent03.setClass(Firstone.this, MainActivity.class); 
  8.                 startActivityForResult(intent03, RESULT_OK); 
  9.                 overridePendingTransition(R.anim.fade,R.anim.hold); 
  10.                 Firstone.this.finish();  
  11.             } 
  12.         },3000); 

 

你可能感兴趣的:(android,开发,职场,休闲)