From: Damyan Ivanov Date: Wed, 20 May 2020 16:48:51 +0000 (+0300) Subject: fix FAB disabled tint color X-Git-Tag: v0.14.0~70 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=d59f75ecb788410339c102693346ed34af8c3b2d;p=mobile-ledger.git 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 --- 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