As mentioned on the documentation page the alternative is ProgressBar
. ProgressDialog
's look can be replicated by placing a ProgressBar
into an AlertDialog
.
You can still use it, but Android does not want you to use it, that is why it is deprecated. So you should consider solving your problem in another way, like embedding a ProgressBar
into your Layout
.