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
~ Modified/adapted by Damyan Ivanov for MoLe
-->
-<vector android:height="24dp" android:tint="#EEEEEE"
- android:viewportHeight="24.0" android:viewportWidth="24.0"
- android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
- <path android:fillColor="#FF000000" android:pathData="M19,13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/>
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="24dp"
+ android:height="24dp"
+ android:tint="?attr/colorOnSecondary"
+ android:viewportWidth="24.0"
+ android:viewportHeight="24.0">
+ <path
+ android:fillColor="#FF000000"
+ android:pathData="M19,13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z" />
</vector>
<resources>
<style name="StretchedTextView" parent="Widget.AppCompat.TextView"></style>
+
+ <style name="myFabStyle" parent="Widget.MaterialComponents.FloatingActionButton">
+ <item name="tint" state="disabled">?android:attr/colorBackground</item>
+ </style>
<!-- Base application theme. -->
<!-- base hue: 261.2245° -->
<!-- target primary color: #935FF2 -->
<item name="errorTextColor">@color/errorTextColor</item>
<item name="colorOnSecondary">?android:attr/colorBackground</item>
<item name="textInputStyle">@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense</item>
+ <item name="floatingActionButtonStyle">@style/myFabStyle</item>
</style>
<!-- theme list start -->