adnan-sm / timelytextview Goto Github PK
View Code? Open in Web Editor NEWAnimated TextView like Timely app
Animated TextView like Timely app
Do not support layout_width & layout_height attribute
The animation is so slow how to fix it?
Is it on purpose or just overlooked? Would love to contribute to TimelyTextView however on clear ground rules :)
The path this library uses is:
M 0.259668508287293, 0.116022099447514
C 0.259668508287293, 0.116022099447514 0.87292817679558, 0.116022099447514 0.87292817679558, 0.116022099447514
C 0.87292817679558, 0.116022099447514 0.7, 0.422099447513812 0.7, 0.422099447513812
C 0.7, 0.422099447513812 0.477348066298343, 0.733149171270718 0.477348066298343, 0.733149171270718
C 0.477348066298343, 0.733149171270718 0.25414364640884, 1 0.25414364640884, 1
I had to tweak it a bit in order to make the line straight:
M 0.259668508287293, 0.116022099447514
C 0.259668508287293, 0.116022099447514 0.87292817679558, 0.116022099447514 0.87292817679558, 0.116022099447514
C 0.87292817679558, 0.116022099447514 0.66666666666667, 0.41068139962 0.66666666666667, 0.41068139962
C 0.66666666666667, 0.41068139962 0.460405157, 0.7053406998 0.460405157, 0.7053406998
C 0.460405157, 0.7053406998 0.25414364640884, 1 0.25414364640884, 1
The bottom part of the number is clipped.
hi.thanks for your lib.i can see the text of view just in fix width and height .if i set wrap-content of fill parent it doesn't work and don't show text.
Hi there the animation is not smooth like Timely app.
Support custom typefaces so that people can use the library in production apps.
Hey guys
I'm trying to use this animation for my calculator app .. so that when numbers change they do it with this animation..
so for testing purposes i put 9 Timelyview's beside eachOther and started the ObjectAnimator 9 times but only the last animation happens for all of them
for example if I want to change from 000000000 to 987654321 the result is 999999999 ?
I think ObjectAnimation can Handle Only One Operation at a time ... so whats the remedy here ? I tried to use animatorset But it gives me Errors cause It can only handle Native OBjectAnimation object not the custom one included in this project ?
What is the dependency ?
Got this error upon building the lib:
Error: Unable to load class 'org.codehaus.groovy.runtime.StringGroovyMethods'.
Possible causes for this unexpected error include:<ul><li>Gradle's dependency cache
may be corrupt (this sometimes occurs after a network connection timeout.)
<a href="syncProject">Re-download dependencies and sync project
(requires network)</a></li><li>The state of a Gradle build process (daemon)
may be corrupt. Stopping all Gradle daemons may solve this problem.
<a href="stopGradleDaemons">Stop Gradle build processes (requires restart)
</a></li><li>Your project may be using a third-party plugin which is not
compatible with the other plugins in the project or the version of Gradle
requested by the project.</li></ul>In the case of corrupt Gradle processes,
you can also try closing the IDE and then killing all Java processes.
My internet is connected while building....
thanks
For instance, 4 is visually(and actually) shorter than any other.
Can't we animate from 9 to 10? While doing it an error comes up: java.security.InvalidParameterException: Unsupported number requested
I think this is the most basic functionality, is there some other way of doing it? What am I missing?
This is how I am doing:
holder.sent_count.animate(9, 10).setDuration(500).start();
Actually this is more of a question than an issue. I have the following code and it does not work.
objectAnimator = timelyView.animate(1, 9);
objectAnimator.setDuration(1000);
objectAnimator.setCurrentPlayTime(900);
What am I doing wrong here?
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 " ")
hi, thanks for your repository : .
but I meet an error when I import the project into Android Stuido, the error log is :Error:No such property: GROUP for class: org.gradle.api.publication.maven.internal.ant.DefaultGroovyMavenDeployer
how can I fix this ?
I'm looking forward for your reply.
It would be handy to have a sample project as part of the repo (and even an app on google play), so it's easy to try out the library.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.