/*
* (non-Javadoc)
*
* @see android.app.Activity#onCreate(android.os.Bundle)
*/
@Override
protected void onCreate(Bundle savedInstanceState) {
// TODO Auto-generated method stub
super.onCreate(savedInstanceState);
// ------------------------------------------------------------
// 启动页去掉标题栏
// ------------------------------------------------------------
requestWindowFeature(Window.FEATURE_NO_TITLE);
// -------------------------------------------------------------
mContext = this;
setContentView(R.layout.start);//启动画面所要显示的布局
start();
}
public void start() {
new Thread() {
public void run() {
try {
Thread.sleep(3000);
//your code here......
enterMainMenu();// 进入主界面
//......
} catch (InterruptedException e) {
e.printStackTrace();
}
}
}.start();
}
给你的android应用添加启动画面
最新推荐文章于 2021-12-24 11:25:07 发布