android-floating-action-button
android-floating-action-button copied to clipboard
Any mode change color icon?
How work with ImageView -> android:tint="@color" ?? Thanks.
I want to do the same thing. The problem is the parent of 'FloatingActionButton' is 'ImageButton', not 'AppCompatImageButton'
TL;DR: Read the source :P
Although I know this is old I figure it's good to have a record of how to solve this. You can use FloatingActionButton#setIconDrawable
programmatically. Simply tint the icon before setting it and viola! You haz tint. Hope this helps other peeps.