adnan-SM / TimelyTextView

Animated TextView like Timely app
920 stars 152 forks source link

morph from white space to a number and vice versa #10

Closed samparhizkar closed 10 years ago

samparhizkar commented 10 years ago

By now the code works just fine . Just one thing ... is it possible to animate from (white space)" " to "2" in the beginning? (and vice versa ... from "2" to " ")

adnan-SM commented 10 years ago

I don't think this would be possible because the math behind the animation is based on animating between control points, so it would need a start point and an end point. An empty space won't have any control points thus animating would not be possible. The closest I can think of is animating from a fixed number but make that number invisible and slowly fade in when the animation reaches its end! Not sure, how well that would work, but just a thought