hoang8f / android-flat-button

FButton - a flat button library for Android
Apache License 2.0
1.4k stars 327 forks source link

Sluggish animation #5

Closed manuelgomes2 closed 10 years ago

manuelgomes2 commented 10 years ago

Hi

I am using your component in a new app we are prototyping right now, and i noticed that all the button animations are a bit sluggish - the text goes down before, then the top of the button and only then the shadow part. The behaviour is exactly the same you have in the animated GIF in the github page (https://raw.githubusercontent.com/hoang8f/android-flat-button/master/screenshot/screenshot.gif).

However, i have installer your demo app and all the buttons work perfectly there, smooth and intuitive.

Are you using a different version in your flat button demo app or am i doing somthing wrong?

hoang8f commented 10 years ago

Hi @manuelgomes2 demo app used same code with the code on github. could you provide some sample code to me for debugging ?

LoloQ commented 10 years ago

Hi,

I'm having the same kind of issue when i try to put your buttons in fragments. There is no problem with normal activities, animation is smooth in this case.

hoang8f commented 10 years ago

Hi @LoloQ Thank you for your information. I will do some investigation on fragment to find out the caused.

alexwine commented 10 years ago

The same issue. Any results of investigation?

philipesteiff commented 10 years ago

Same issue here, with fragments. :/

magx2 commented 10 years ago

Same issue. Got simple Activity with Relative Layout (on Genymotion and Nexus S)

hoang8f commented 10 years ago

hi @manuelgomes2 @LoloQ @alexwine @philipesteiff @magx2 I have been released 1.0.2 version. I hope it can fix this issue on your device. Please try and give feedback. Many thanks ! Use this dependency: compile 'info.hoang8f:fbutton:1.0.2'

alexwine commented 10 years ago

@hoang8f thank you, this worked for me.

LoloQ commented 10 years ago

@hoang8f thanks, it is perfect !