I create a ProgressDialog from java code:
mProgressDialog = ProgressDialog.show(this, ..., ... , true);
I want to change the message text s
You can also use: ContextThemeWrapper
For example:
ProgressDialog.show(new ContextThemeWrapper(this, R.style.DialogCustom), "Loading", "Wait please");