Seems like the indeterminate drawable cannot really be replaced.
For your requirement, consider writing a custom dialog with a layout consisting of a ProgressBar
, an ImageView
for the done icon and a TextView
for the message. Switch the visibility of the icon and progress bar when changing state.