Skip to content

Commit 50c9e90

Browse files
committed
see 05/05 log
1 parent 8174076 commit 50c9e90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/utilcode/src/main/java/com/blankj/utilcode/util/ToastUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ public void run() {
495495
private void setToastParams() {
496496
mParams.height = WindowManager.LayoutParams.WRAP_CONTENT;
497497
mParams.width = WindowManager.LayoutParams.WRAP_CONTENT;
498-
mParams.format = PixelFormat.TRANSPARENT;
498+
mParams.format = PixelFormat.TRANSLUCENT;
499499
mParams.windowAnimations = android.R.style.Animation_Toast;
500500
mParams.setTitle("ToastWithoutNotification");
501501
mParams.flags = WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON

0 commit comments

Comments
 (0)