|
@@ -4,6 +4,7 @@ import android.animation.Animator;
|
4
|
4
|
import android.animation.AnimatorListenerAdapter;
|
5
|
5
|
import android.content.res.ColorStateList;
|
6
|
6
|
import android.graphics.drawable.Drawable;
|
|
7
|
+import android.os.Build;
|
7
|
8
|
import android.support.annotation.FloatRange;
|
8
|
9
|
import android.support.annotation.NonNull;
|
9
|
10
|
import android.support.annotation.Nullable;
|
|
@@ -160,6 +161,9 @@ public class FloatingActionButtonCoordinator {
|
160
|
161
|
action.setBackgroundTintList(ColorStateList.valueOf(actionParams.backgroundColor.getColor()));
|
161
|
162
|
}
|
162
|
163
|
action.setSize(FloatingActionButton.SIZE_MINI);
|
|
164
|
+ if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) {
|
|
165
|
+ action.setCompatElevation(0);
|
|
166
|
+ }
|
163
|
167
|
return action;
|
164
|
168
|
}
|
165
|
169
|
|