修正增加书签alert的正文内容较多时,确定键溢出屏幕问题

pull/883/head
hoodie13 4 years ago
parent 4904dd117c
commit 94aba75281
  1. 4
      app/src/main/java/io/legado/app/ui/book/toc/BookmarkFragment.kt

@ -88,6 +88,10 @@ class BookmarkFragment : VMBaseFragment<ChapterListViewModel>(R.layout.fragment_
val alertBinding = DialogBookmarkBinding.inflate(layoutInflater).apply { val alertBinding = DialogBookmarkBinding.inflate(layoutInflater).apply {
editBookText.setText(bookmark.bookText) editBookText.setText(bookmark.bookText)
editView.setText(bookmark.content) editView.setText(bookmark.content)
editBookText.textSize = 15f
editView.textSize = 15f
editBookText.maxLines= 6
editView.maxLines= 6
} }
customView { alertBinding.root } customView { alertBinding.root }
yesButton { yesButton {

Loading…
Cancel
Save