pull/2410/head
kunfei 2 years ago
parent 691071d4de
commit f540cab208
  1. 2
      app/src/main/java/io/legado/app/ui/book/search/SearchActivity.kt
  2. 16
      app/src/main/java/io/legado/app/ui/book/search/SearchScopeDialog.kt
  3. 6
      app/src/main/res/layout/dialog_search_scope.xml

@ -407,7 +407,7 @@ class SearchActivity : VMBaseActivity<ActivityBookSearchBinding, SearchViewModel
}
private fun alertSearchScope() {
showDialogFragment<SearchScopeDialog>()
}
private fun alertClearHistory() {

@ -0,0 +1,16 @@
package io.legado.app.ui.book.search
import android.os.Bundle
import android.view.View
import io.legado.app.R
import io.legado.app.base.BaseDialogFragment
class SearchScopeDialog : BaseDialogFragment(R.layout.dialog_search_scope, true) {
override fun onFragmentCreated(view: View, savedInstanceState: Bundle?) {
TODO("Not yet implemented")
}
}

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
</androidx.constraintlayout.widget.ConstraintLayout>
Loading…
Cancel
Save