Make search button clickable (#3577)
This commit is contained in:
parent
386395629b
commit
59b3e4bf11
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue