Есть разные способы сделать это. В Robotium есть много различных методов waitFor, которые вы можете использовать. В вашем случае вы можете использовать:
solo.waitForDialogToClose() //waits for the dialog to close
solo.waitForActivity() // if there is a activity change
solo.waitForText() //if a certain text appears after the loading is done
solo.waitForView() //if a certain view is shown after the load screen is done.
Пожалуйста, смотрите Документацию по Robotium API , чтобы узнать больше о методах waitFor в Robotium.