shamanland / floating-action-button

Implementation of a circular button made of paper that lifts and emits ink reactions on press.
http://shamanland.github.io/floating-action-button
Apache License 2.0
371 stars 88 forks source link

No lift and emits ink reactions on press. #3

Closed AndreasKarlsen closed 10 years ago

AndreasKarlsen commented 10 years ago

First I want to thank you for the work already done - it looks great :+1: .

However, I seem to miss the "lift and emits ink reactions" when the FAB is pressed. I've compiled the sample project, and tested at a Nexus 5 with android-L, and a nexus 7 with 4.4.4.

When going through the code, I was unable to identify anything that should cause such a reaction. My question therefore is, is it not implemented, or am I blind :)?

ok3141 commented 10 years ago

Do you mean some animations applied for FAB when it's pressed?

AndreasKarlsen commented 10 years ago

Yes - that was my understanding, after reading the description.

Another way, could be to supply a state-list so it could change drawable when it was pressed. I tried this, but with no success.

ok3141 commented 10 years ago

About description: I copied it from original page, this phrase looks different without original text.

I'm planning to implement color state list soon.

AndreasKarlsen commented 10 years ago

Okay - I was deceived by the description. Thank you for your answer and your commitment.

ok3141 commented 10 years ago

ColorStateList now supported in version 0.0.4