This commit is contained in:
kunfei 2022-02-28 14:41:20 +08:00
parent 0b9cf7b4c5
commit 90e4c298ed
3 changed files with 3 additions and 3 deletions

View File

@ -42,7 +42,7 @@ class ChangeCoverDialog() : BaseDialogFragment(R.layout.dialog_change_cover),
override fun onStart() {
super.onStart()
setLayout(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT)
setLayout(ViewGroup.LayoutParams.MATCH_PARENT, 0.96f)
}
override fun onFragmentCreated(view: View, savedInstanceState: Bundle?) {

View File

@ -57,7 +57,7 @@ class ChangeBookSourceDialog() : BaseDialogFragment(R.layout.dialog_book_change_
override fun onStart() {
super.onStart()
setLayout(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT)
setLayout(ViewGroup.LayoutParams.MATCH_PARENT, 0.96f)
}
override fun onFragmentCreated(view: View, savedInstanceState: Bundle?) {

View File

@ -81,7 +81,7 @@ class ChangeChapterSourceDialog() : BaseDialogFragment(R.layout.dialog_chapter_c
override fun onStart() {
super.onStart()
setLayout(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT)
setLayout(ViewGroup.LayoutParams.MATCH_PARENT, 0.96f)
dialog?.setOnKeyListener(this)
}