diff options
author | H. Lehmann <ByteHamster@users.noreply.github.com> | 2019-09-03 19:14:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-03 19:14:17 +0200 |
commit | 0ae092be3af1b42720c952c3de5571cf1e60a204 (patch) | |
tree | 7b8ed018cde9243e341b819b06b5e619004b2f90 /app/src | |
parent | 87a1f5c2f4afea83d685475946bd381763bc74a6 (diff) | |
parent | 7cc5f86979c9345a67670745374fdd0deca4613d (diff) | |
download | AntennaPod-0ae092be3af1b42720c952c3de5571cf1e60a204.zip |
Merge pull request #3366 from ByteHamster/add-feed-improvements
Add feed improvements
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/fragment/AddFeedFragment.java | 7 | ||||
-rw-r--r-- | app/src/main/res/layout/addfeed.xml | 1 |
2 files changed, 3 insertions, 5 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/fragment/AddFeedFragment.java b/app/src/main/java/de/danoeh/antennapod/fragment/AddFeedFragment.java index 35bcaa76e..3ef010f88 100644 --- a/app/src/main/java/de/danoeh/antennapod/fragment/AddFeedFragment.java +++ b/app/src/main/java/de/danoeh/antennapod/fragment/AddFeedFragment.java @@ -70,11 +70,8 @@ public class AddFeedFragment extends Fragment { combinedFeedSearchBox = root.findViewById(R.id.combinedFeedSearchBox); combinedFeedSearchBox.setOnEditorActionListener((v, actionId, event) -> { - if (actionId == EditorInfo.IME_ACTION_SEARCH) { - performSearch(); - return true; - } - return false; + performSearch(); + return true; }); } diff --git a/app/src/main/res/layout/addfeed.xml b/app/src/main/res/layout/addfeed.xml index ef8251a06..a7f7d9f12 100644 --- a/app/src/main/res/layout/addfeed.xml +++ b/app/src/main/res/layout/addfeed.xml @@ -10,6 +10,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" + android:focusableInTouchMode="true" android:padding="8dp"> <android.support.v7.widget.CardView |