@ -54,8 +54,8 @@ class BgTextConfigDialog : DialogFragment() {
it.windowManager?.defaultDisplay?.getMetrics(dm)
}
dialog?.window?.let {
it.setBackgroundDrawableResource(R.color.transparent)
it.decorView.setPadding(0, 0, 0, 0)
it.setBackgroundDrawableResource(R.color.background)
it.decorView.setPadding(0, 5, 0, 0)
val attr = it.attributes
attr.dimAmount = 0.0f
attr.gravity = Gravity.BOTTOM
@ -29,8 +29,8 @@ class MoreConfigDialog : DialogFragment() {
@ -26,8 +26,6 @@ class PaddingConfigDialog : DialogFragment() {
it.attributes = attr
@ -37,8 +37,8 @@ class ReadStyleDialog : DialogFragment(), FontSelectDialog.CallBack {