Merge pull request #3365 from ByteHamster/batch-edit-fab

Batch edit screen FAB
This commit is contained in:
H. Lehmann 2019-09-03 19:09:50 +02:00 committed by GitHub
commit 87a1f5c2f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 11 deletions

View File

@ -168,6 +168,7 @@ public class EpisodesApplyActionFragment extends Fragment {
return true;
});
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;

View File

@ -29,12 +29,9 @@
android:layout_alignParentBottom="true"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:elevation="@dimen/sd_close_elevation"
android:elevation="@dimen/sd_open_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
-->
<com.leinardi.android.speeddial.SpeedDialView
android:id="@+id/fabSD"
android:layout_width="match_parent"