nambicompany / expandable-fab

A highly customizable 'speed dial' FloatingActionButton implementation.
https://nambicompany.github.io/expandable-fab/
MIT License
200 stars 21 forks source link

Bug with efabColor #3

Closed skobelev-dmitriy closed 4 years ago

skobelev-dmitriy commented 4 years ago

Good day. When trying to use the efabColor, fabOptionColor properties programmatically, the color changes the first time, but then does not change. Also, after the first setting, the color is displayed incorrectly. I wrote through a translator :) Screenshot_1600285240 Screenshot_16002852402

kabumere commented 4 years ago

Hey @skobelev-dmitriy,

When setting the color properties like efabColor and fabOptionColor, you must pass an integer value in the form of 0xAARRGGBB.

You can easily do this by calling ContextCompat.getColor(context, R.color.colorPrimary).

The documentation should be clearer, so sorry about that. Will update it now.

kabumere commented 4 years ago

Hey @skobelev-dmitriy,

Did the above comment solve your issue?

skobelev-dmitriy commented 4 years ago

Hey @skobelev-dmitriy,

Did the above comment solve your issue?

Thanks, this is solve my issue Screenshot_1600398445