title: How to put an app main thread to sleep, to show progress dialog changes?
body: <p>I have an app and want to put the main thread to sleep for 1500ms, so I can show a ProgressDialog, but I don't know how to do it. It's possible to stop an app main thread? I can achieve the same goal using another thread right?</p>