florent37 / MaterialTextField

A different beautiful Floating Edit Text
Apache License 2.0
1.49k stars 239 forks source link

Collapsed Card : Horizontal Line #15

Open akshaytandroid opened 8 years ago

akshaytandroid commented 8 years ago

When Initialized, there will be a white horizontal line and next try expanding. Now try collapsing, the horizontal white line is gone. It is not working as it in the screenshot provided.

issacchern commented 8 years ago

I was wondering the same, but I did dig into the code and found this to fix my problem like yours :

Just remove

ViewCompat.animate(card) .scaleY(reducedScale) .setDuration(ANIMATION_DURATION);

in the reduce() method, then the white horizontal lines will not be disappeared.

uddish commented 8 years ago

Thanks. Was facing the same problem.

WrathChaos commented 8 years ago

Hello, i'm still facing this problem. Can developer hotfix it?

jianastrero commented 7 years ago

i may have fixed this using a different solution, check this fork: https://github.com/jianastrero/MaterialTextField