mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2024-12-27 01:03:15 +01:00
Merge pull request #3365 from ByteHamster/batch-edit-fab
Batch edit screen FAB
This commit is contained in:
commit
87a1f5c2f4
@ -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;
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user