From 9e488031ea49bea1bde45691e709411f51f63510 Mon Sep 17 00:00:00 2001 From: kunfei Date: Wed, 11 Sep 2019 21:17:14 +0800 Subject: [PATCH] up --- .../io/legado/app/ui/readbook/config/ReadAloudConfigDialog.kt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/readbook/config/ReadAloudConfigDialog.kt b/app/src/main/java/io/legado/app/ui/readbook/config/ReadAloudConfigDialog.kt index a56c1572c..f0358aeed 100644 --- a/app/src/main/java/io/legado/app/ui/readbook/config/ReadAloudConfigDialog.kt +++ b/app/src/main/java/io/legado/app/ui/readbook/config/ReadAloudConfigDialog.kt @@ -39,10 +39,6 @@ class ReadAloudConfigDialog : DialogFragment() { } dialog?.window?.let { it.setBackgroundDrawableResource(R.color.transparent) - it.decorView.setPadding(0, 0, 0, 0) - val attr = it.attributes - attr.dimAmount = 0.0f - it.attributes = attr it.setLayout((dm.widthPixels * 0.9).toInt(), ViewGroup.LayoutParams.WRAP_CONTENT) } }