diff options
author | H. Lehmann <ByteHamster@users.noreply.github.com> | 2019-09-03 19:09:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-03 19:09:50 +0200 |
commit | 87a1f5c2f4afea83d685475946bd381763bc74a6 (patch) | |
tree | 5bf518e1dbe978974800f6263ceb5251ba9f2ad5 | |
parent | 5bef3300df2e5c800f9ef7fc48e15b9921a63784 (diff) | |
parent | be364c2a2d9e2296107372c717f09199c42741c8 (diff) | |
download | AntennaPod-87a1f5c2f4afea83d685475946bd381763bc74a6.zip |
Merge pull request #3365 from ByteHamster/batch-edit-fab
Batch edit screen FAB
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/dialog/EpisodesApplyActionFragment.java | 7 | ||||
-rw-r--r-- | app/src/main/res/layout/episodes_apply_action_fragment.xml | 9 |
2 files changed, 5 insertions, 11 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/dialog/EpisodesApplyActionFragment.java b/app/src/main/java/de/danoeh/antennapod/dialog/EpisodesApplyActionFragment.java index bb47f8baa..1d4b62fc3 100644 --- a/app/src/main/java/de/danoeh/antennapod/dialog/EpisodesApplyActionFragment.java +++ b/app/src/main/java/de/danoeh/antennapod/dialog/EpisodesApplyActionFragment.java @@ -168,7 +168,8 @@ public class EpisodesApplyActionFragment extends Fragment { return true; }); - for(FeedItem episode : episodes) { + titles.clear(); + for (FeedItem episode : episodes) { titles.add(episode.getTitle()); } @@ -205,10 +206,6 @@ public class EpisodesApplyActionFragment extends Fragment { return true; }); - if (Build.VERSION.SDK_INT == 23 || Build.VERSION.SDK_INT == 24) { - ViewCompat.setElevation(view.findViewById(R.id.fabSDScrollCtr), 8); - } - showSpeedDialIfAnyChecked(); return view; diff --git a/app/src/main/res/layout/episodes_apply_action_fragment.xml b/app/src/main/res/layout/episodes_apply_action_fragment.xml index d6e18bb37..ad453afbe 100644 --- a/app/src/main/res/layout/episodes_apply_action_fragment.xml +++ b/app/src/main/res/layout/episodes_apply_action_fragment.xml @@ -29,12 +29,9 @@ android:layout_alignParentBottom="true" android:layout_alignParentEnd="true" android:layout_alignParentRight="true" - android:elevation="@dimen/sd_close_elevation" - tools:ignore="UnusedAttribute"> - <!-- android:elevation: - 1. Needs to match the speed dial's minimal elevation, - or the speed dial can't be clicked at all - --> + android:elevation="@dimen/sd_open_elevation" + tools:ignore="UnusedAttribute" > + <com.leinardi.android.speeddial.SpeedDialView android:id="@+id/fabSD" android:layout_width="match_parent" |