Это фрагмент базового заставки
public class Splash extends Activity {
//private ProgressDialog pd = null;
private final int SPLASH_DISPLAY_LENGTH = 3000;
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
setContentView(R.layout.splashscreen);
//this.pd = ProgressDialog.show(this, "Initializing..", "Initializing Infraline...", true, false);
/* New Handler to start the InfralineTabWidget-Activity
* and close this Splash-Screen after some seconds.*/
new Handler().postDelayed(new Runnable(){
@Override
public void run() {
/* Create an Intent that will start the InfralineTabWidget-Activity. */
Intent mainIntent = new Intent(Splash.this,InfralineTabWidget.class);
Splash.this.startActivity(mainIntent);
Splash.this.finish();
}
}, SPLASH_DISPLAY_LENGTH);
}
}
А в вашем AndroidManifest.xml поместите
<activity android:name=".Splash" android:theme="@android:style/Theme.NoTitleBar" android:configChanges="orientation|keyboardHidden">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
Надеюсь, это сработает для вас:)