From d59f75ecb788410339c102693346ed34af8c3b2d Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Wed, 20 May 2020 19:48:51 +0300 Subject: [PATCH] fix FAB disabled tint color to be the same as the non-disabled color. at present, the only disabled FAB is the one in the new transaction activity and it is disabled only while the transaction is being sent, which is also accompanied with the fragment (and the FAB) flying to the top, so there is no real need to use a distinct disabled color the default disabled tint is black, which is quite ugly, changing from white-ish --- .../res/drawable-anydpi-v21/ic_add_white_24dp.xml | 13 +++++++++---- app/src/main/res/values/styles.xml | 5 +++++ 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/app/src/main/res/drawable-anydpi-v21/ic_add_white_24dp.xml b/app/src/main/res/drawable-anydpi-v21/ic_add_white_24dp.xml index a3d22049..594dcf99 100644 --- a/app/src/main/res/drawable-anydpi-v21/ic_add_white_24dp.xml +++ b/app/src/main/res/drawable-anydpi-v21/ic_add_white_24dp.xml @@ -16,8 +16,13 @@ ~ Modified/adapted by Damyan Ivanov for MoLe --> - - + + diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 3c8efabc..cf5497ad 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -18,6 +18,10 @@ + + @@ -36,6 +40,7 @@ @color/errorTextColor ?android:attr/colorBackground @style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense + @style/myFabStyle -- 2.39.2