From 2bdca6ed64a6f46cd92af54ec90c79a9ef6f8b28 Mon Sep 17 00:00:00 2001 From: kunfei Date: Wed, 14 Aug 2019 20:52:01 +0800 Subject: [PATCH] up --- .../java/io/legado/app/ui/changesource/ChangeSourceDialog.kt | 2 ++ app/src/main/res/layout/dialog_change_source.xml | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/changesource/ChangeSourceDialog.kt b/app/src/main/java/io/legado/app/ui/changesource/ChangeSourceDialog.kt index 6044c448a..197e8df5d 100644 --- a/app/src/main/java/io/legado/app/ui/changesource/ChangeSourceDialog.kt +++ b/app/src/main/java/io/legado/app/ui/changesource/ChangeSourceDialog.kt @@ -6,6 +6,7 @@ import android.view.View import android.view.ViewGroup import androidx.fragment.app.DialogFragment import io.legado.app.R +import kotlinx.android.synthetic.main.dialog_change_source.* class ChangeSourceDialog : DialogFragment() { @@ -17,6 +18,7 @@ class ChangeSourceDialog : DialogFragment() { override fun onViewCreated(view: View, savedInstanceState: Bundle?) { super.onViewCreated(view, savedInstanceState) + tool_bar.inflateMenu(R.menu.search_view) } diff --git a/app/src/main/res/layout/dialog_change_source.xml b/app/src/main/res/layout/dialog_change_source.xml index 7d20fe160..68db3890e 100644 --- a/app/src/main/res/layout/dialog_change_source.xml +++ b/app/src/main/res/layout/dialog_change_source.xml @@ -5,10 +5,11 @@ android:layout_width="match_parent" android:layout_height="match_parent"> -