From e1b37462f2fa7eb442f7f659b8e2ff91bf5857fe Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Sun, 1 Sep 2019 23:57:38 +0200 Subject: [PATCH] Fixed FAB on a few Android versions --- .../antennapod/dialog/EpisodesApplyActionFragment.java | 4 ---- .../main/res/layout/episodes_apply_action_fragment.xml | 9 +++------ 2 files changed, 3 insertions(+), 10 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..999813ff7 100644 --- a/app/src/main/java/de/danoeh/antennapod/dialog/EpisodesApplyActionFragment.java +++ b/app/src/main/java/de/danoeh/antennapod/dialog/EpisodesApplyActionFragment.java @@ -205,10 +205,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="@dimen/sd_open_elevation" + tools:ignore="UnusedAttribute" > +