From f540cab208b77ab1aa95bb932993449b26c6a7a1 Mon Sep 17 00:00:00 2001 From: kunfei Date: Tue, 11 Oct 2022 17:17:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../legado/app/ui/book/search/SearchActivity.kt | 2 +- .../app/ui/book/search/SearchScopeDialog.kt | 16 ++++++++++++++++ app/src/main/res/layout/dialog_search_scope.xml | 6 ++++++ 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 app/src/main/java/io/legado/app/ui/book/search/SearchScopeDialog.kt create mode 100644 app/src/main/res/layout/dialog_search_scope.xml diff --git a/app/src/main/java/io/legado/app/ui/book/search/SearchActivity.kt b/app/src/main/java/io/legado/app/ui/book/search/SearchActivity.kt index 6f0a46ba3..3d80873aa 100644 --- a/app/src/main/java/io/legado/app/ui/book/search/SearchActivity.kt +++ b/app/src/main/java/io/legado/app/ui/book/search/SearchActivity.kt @@ -407,7 +407,7 @@ class SearchActivity : VMBaseActivity() } private fun alertClearHistory() { diff --git a/app/src/main/java/io/legado/app/ui/book/search/SearchScopeDialog.kt b/app/src/main/java/io/legado/app/ui/book/search/SearchScopeDialog.kt new file mode 100644 index 000000000..efb5ce836 --- /dev/null +++ b/app/src/main/java/io/legado/app/ui/book/search/SearchScopeDialog.kt @@ -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") + } + + +} \ No newline at end of file diff --git a/app/src/main/res/layout/dialog_search_scope.xml b/app/src/main/res/layout/dialog_search_scope.xml new file mode 100644 index 000000000..77d9ef65f --- /dev/null +++ b/app/src/main/res/layout/dialog_search_scope.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file