Fixed FAB on a few Android versions
This commit is contained in:
parent
14936852d4
commit
e1b37462f2
|
@ -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;
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue