diff --git a/app/src/main/java/io/legado/app/ui/widget/dialog/UrlOptionDialog.kt b/app/src/main/java/io/legado/app/ui/widget/dialog/UrlOptionDialog.kt index 866a77312..669de10b4 100644 --- a/app/src/main/java/io/legado/app/ui/widget/dialog/UrlOptionDialog.kt +++ b/app/src/main/java/io/legado/app/ui/widget/dialog/UrlOptionDialog.kt @@ -31,7 +31,7 @@ class UrlOptionDialog(context: Context, private val success: (String) -> Unit) : override fun onStart() { super.onStart() - setLayout(1f, ViewGroup.LayoutParams.WRAP_CONTENT) + setLayout(1f, ViewGroup.LayoutParams.MATCH_PARENT) } override fun onCreate(savedInstanceState: Bundle?) {