Get rid of ProgressDialog and make circular ProgressBar (as per http://developer.android.com/design/building-blocks/progress.html) for indefinite loading