pgreze / android-reactions

Facebook like reaction picker for Android
Apache License 2.0
158 stars 46 forks source link

added support for changing alpha value and changing corner radius of the popup #22

Closed h4rz closed 3 years ago

h4rz commented 3 years ago
h4rz commented 3 years ago

@sopharasum,

Alpha value's range is from 0 to 255 where

0 - 100% Transparency 255 - 0% Transparency

As you had assigned 255, it won't be transparent, try changing the values below 255 and above 0 and you would get the idea.

sopharasum commented 3 years ago

@sopharasum,

Alpha value's range is from 0 to 255 where

0 - 100% Transparency 255 - 0% Transparency

As you had assigned 255, it won't be transparent, try changing the values below 255 and above 0 and you would get the idea.

Thank you so much. However, are you planning to add on the reaction item showing up animation similar to this repository https://github.com/ngohado/Facebook-Reaction ?

h4rz commented 3 years ago

@sopharasum,

Alpha value's range is from 0 to 255 where

0 - 100% Transparency 255 - 0% Transparency

As you had assigned 255, it won't be transparent, try changing the values below 255 and above 0 and you would get the idea.

Thank you so much. However, are you planning to add on the reaction item showing up animation similar to this repository https://github.com/ngohado/Facebook-Reaction ?

Not as of now.

pgreze commented 3 years ago

@h4rz @sopharasum feel free to use those 2 attributes with the version 1.3 that I just published: https://github.com/pgreze/android-reactions/releases/tag/v1.3

h4rz commented 3 years ago

@pgreze, Thank you for open-sourcing this useful library and also for improving the code, I got to learn something new😄.