Fix border of disabled FAB

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
tobiasKaminsky 2020-03-11 10:06:21 +01:00
parent 9710a8a863
commit 1b5d37b50c
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7

View file

@ -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();
}