Thread.sleep

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Thread.sleep

Postby badwolf » Sat Jul 11, 2009 10:32 pm

I am currently trying to create an application with a splash screen. After the layout for the splash screen is loaded I would like to pause for a couple of seconds then continue to the main menu. The issue I am having is that after I load the splash screen layout I use Thread.sleep but the the splash screen is never actually drawn presumably because it never has time to draw before Thread.sleep is called. Is there a way to force draw the view before calling Thread.sleep or perhaps a function I can call during iterations in a timer loop? If you are familiar with DoEvents in VB it would be similar. Thanks!
badwolf
Freshman
Freshman
 
Posts: 2
Joined: Sat Jul 11, 2009 10:25 pm

Top

Postby badwolf » Sun Jul 12, 2009 5:47 pm

Nevermind here. I just sent a delayed message instead. Oh well.
badwolf
Freshman
Freshman
 
Posts: 2
Joined: Sat Jul 11, 2009 10:25 pm

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 9 guests