首页 > 代码库 > 测试博客样式

测试博客样式

package com.biyesheng;import android.os.Bundle;import android.os.Handler;import android.app.Activity;import android.content.Intent;import android.view.Menu;import android.view.Window;public class StartActivity extends Activity {	    @Override    protected void onCreate(Bundle savedInstanceState) {        super.onCreate(savedInstanceState);        requestWindowFeature(Window.FEATURE_NO_TITLE);        setContentView(R.layout.activity_start);                new Handler().postDelayed(new Runnable() {				        	@Override			public void run() {					startActivity(new Intent(StartActivity.this, LoadingActivity.class));				StartActivity.this.finish();			}		}, 1500);    }    @Override    public boolean onCreateOptionsMenu(Menu menu) {        getMenuInflater().inflate(R.menu.main, menu);        return true;    }    }

 

测试博客样式