例如:
Dialog dialog2(){
ProgressDialog pd = new ProgressDialog(DialogActivity.this);
pd.setTitle("正在下载");
pd.setMessage("请稍后...");
return pd;
}