pull/298/head
gedoor 4 years ago
parent 65b3cc74db
commit 56271dbcb2
  1. 2
      app/src/main/java/io/legado/app/ui/replacerule/edit/ReplaceEditDialog.kt
  2. 3
      app/src/main/res/layout/dialog_replace_edit.xml

@ -17,6 +17,7 @@ import io.legado.app.base.BaseDialogFragment
import io.legado.app.constant.AppConst
import io.legado.app.constant.Theme
import io.legado.app.data.entities.ReplaceRule
import io.legado.app.lib.theme.bottomBackground
import io.legado.app.ui.widget.KeyboardToolPop
import io.legado.app.utils.applyTint
import io.legado.app.utils.getViewModel
@ -64,6 +65,7 @@ class ReplaceEditDialog : BaseDialogFragment(),
}
override fun onFragmentCreated(view: View, savedInstanceState: Bundle?) {
tool_bar.setBackgroundColor(bottomBackground)
mSoftKeyboardTool = KeyboardToolPop(requireContext(), AppConst.keyboardToolChars, this)
tool_bar.inflateMenu(R.menu.replace_edit)
tool_bar.menu.applyTint(requireContext(), Theme.getTheme())

@ -14,8 +14,7 @@
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/background">
android:layout_height="match_parent">
<LinearLayout
android:id="@+id/ll_content"

Loading…
Cancel
Save