Make search button clickable (#3577)

This commit is contained in:
sevenmaster 2019-11-01 08:05:01 +01:00 committed by H. Lehmann
parent 386395629b
commit 59b3e4bf11
2 changed files with 2 additions and 1 deletions

View File

@ -46,7 +46,7 @@ public class AddFeedFragment extends Fragment {
View butOpmlImport = root.findViewById(R.id.btn_opml_import);
butOpmlImport.setOnClickListener(v -> startActivity(new Intent(getActivity(),
OpmlImportFromPathActivity.class)));
root.findViewById(R.id.search_icon).setOnClickListener(view -> performSearch());
return root;
}

View File

@ -32,6 +32,7 @@
android:layout_marginRight="8dp"
android:contentDescription="@string/search_podcast_hint"
app:srcCompat="?attr/action_search"
android:id="@+id/search_icon"
android:scaleType="center"/>
<EditText