From 2cd223637d0f53b7e7daa9b616875e63cfaa25ea Mon Sep 17 00:00:00 2001 From: gedoor Date: Fri, 9 Apr 2021 22:25:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=BC=80=E6=90=9C=E7=B4=A2=E6=97=B6?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E8=8E=B7=E5=8F=96=E7=84=A6=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/io/legado/app/ui/book/search/SearchActivity.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 fcaa0d1fe..1c7289729 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 @@ -6,6 +6,7 @@ import android.view.Menu import android.view.MenuItem import android.view.View.GONE import android.view.View.VISIBLE +import android.widget.TextView import androidx.activity.viewModels import androidx.appcompat.widget.SearchView import androidx.lifecycle.LiveData @@ -214,7 +215,8 @@ class SearchActivity : VMBaseActivity(androidx.appcompat.R.id.search_src_text) + .requestFocus() } }