I create a ProgressDialog from java code:
mProgressDialog = ProgressDialog.show(this, ..., ... , true);
I want to change the message text s
try like this
private void showProgressDialog() { progressDialog = new ProgressDialog(this,R.style.CustomDialog); progressDialog.setProgressStyle(ProgressDialog.STYLE_SPINNER); progressDialog.setMessage("Logging in. Please wait."); progressDialog.show(); }
use custome layout