Splash screen is Blank when sleeping

view story

http://stackoverflow.com – I am trying to get the splash layout to appear for 5 seconds and then to switch over to the mainmenu layout. The screen is blank for about 5 seconds, and then the mainmenu layout pops up. If I just run the splash layout without sleeping, it runs just fine, so I do not think that is the problem. Any ideas? @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.splash); try { Thread.sleep(5000); } catch (InterruptedException e) { // TOD (HowTos)