pdRun = new ProgressDialog(this);
pdRun.setProgressStyle(ProgressDialog.STYLE_SPINNER);
pdRun.setMessage(" 正在执行...");
pdRun.setCancelable(false);
只需要设置一个属性
pdRun.setCancelable(false);
pdRun = new ProgressDialog(this);
pdRun.setProgressStyle(ProgressDialog.STYLE_SPINNER);
pdRun.setMessage(" 正在执行...");
pdRun.setCancelable(false);
只需要设置一个属性
pdRun.setCancelable(false);
转载于:https://my.oschina.net/kevinvane/blog/129145