From 1b5d37b50c7735956f40dc562a47195ac1539b58 Mon Sep 17 00:00:00 2001 From: tobiasKaminsky Date: Wed, 11 Mar 2020 10:06:21 +0100 Subject: [PATCH] Fix border of disabled FAB Signed-off-by: tobiasKaminsky --- .../owncloud/android/ui/fragment/ExtendedListFragment.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(); }