diff --git a/src/main/java/com/owncloud/android/ui/fragment/ExtendedListFragment.java b/src/main/java/com/owncloud/android/ui/fragment/ExtendedListFragment.java index 1c96df1343..4f3be9bc73 100644 --- a/src/main/java/com/owncloud/android/ui/fragment/ExtendedListFragment.java +++ b/src/main/java/com/owncloud/android/ui/fragment/ExtendedListFragment.java @@ -588,7 +588,9 @@ public class ExtendedListFragment extends Fragment implements getActivity().runOnUiThread(() -> { if (visible) { mFabMain.show(); - ThemeUtils.tintDrawable(mFabMain.getBackground(), ThemeUtils.primaryColor(getContext())); + int primaryColor = ThemeUtils.primaryColor(getContext()); + mFabMain.setBackgroundTintList(ColorStateList.valueOf(primaryColor)); + mFabMain.setRippleColor(primaryColor); } else { mFabMain.hide(); }