Skip to content

Commit

Permalink
20201230 修改dialog主题
Browse files Browse the repository at this point in the history
  • Loading branch information
zyzzchehe committed Dec 30, 2020
1 parent 7ae5f0a commit 54962ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class DownloadProgressDialogUtils {

public static void showProgressDialog(Context mContext, String message) {
closeProgressDialog();
progressDialog = new ProgressDialog(mContext);
progressDialog = new ProgressDialog(mContext,R.style.Theme_MaterialComponents_Light_Dialog);
progressDialog.setCanceledOnTouchOutside(false);
progressDialog.setMessage(message);
progressDialog.setCancelable(true);
Expand Down

0 comments on commit 54962ab

Please sign in to comment.