Comments (4)
@YuFong I test all animateType work well , could you please provide more info?
from htextview.
When I set animateType to "anvil",it can not display normally.And then I set animateType to "evaporate",it works at the first time I launched my app,but when I quit my app and restart it,then "evaporate" can not work anymore.Other type seems to have the same pro.
from htextview.
When I set type to "rainbow",I got this Exception which cause my app crash.
E/AndroidRuntime: FATAL EXCEPTION: main
Process: yu.unsplash, PID: 31422
Theme: themes:{default=overlay:jahirfiquitiva.themes.meliornui, fontPkg:jahirfiquitiva.themes.meliornui, com.android.systemui=overlay:jahirfiquitiva.themes.meliornui, com.android.systemui.navbar=overlay:jahirfiquitiva.themes.meliornui}
java.lang.NullPointerException: Attempt to invoke virtual method 'void android.graphics.LinearGradient.setLocalMatrix(android.graphics.Matrix)' on a null object reference
at com.hanks.htextview.animatetext.RainBowText.drawFrame(RainBowText.java:49)
at com.hanks.htextview.animatetext.HText.onDraw(HText.java:80)
at com.hanks.htextview.HTextView.onDraw(HTextView.java:112)
at android.view.View.draw(View.java:16187)
at android.view.View.updateDisplayListIfDirty(View.java:15184)
at android.view.View.draw(View.java:15957)
at android.view.ViewGroup.drawChild(ViewGroup.java:3609)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)
at android.view.View.draw(View.java:16190)
at android.view.View.updateDisplayListIfDirty(View.java:15184)
at android.view.View.draw(View.java:15957)
at android.view.ViewGroup.drawChild(ViewGroup.java:3609)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)
at android.view.View.updateDisplayListIfDirty(View.java:15179)
at android.view.View.draw(View.java:15957)
at android.view.ViewGroup.drawChild(ViewGroup.java:3609)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)
at android.view.View.updateDisplayListIfDirty(View.java:15179)
at android.view.View.draw(View.java:15957)
at android.view.ViewGroup.drawChild(ViewGroup.java:3609)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)
at android.view.View.updateDisplayListIfDirty(View.java:15179)
at android.view.View.draw(View.java:15957)
at android.view.ViewGroup.drawChild(ViewGroup.java:3609)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)
at android.view.View.updateDisplayListIfDirty(View.java:15179)
at android.view.View.draw(View.java:15957)
at android.view.ViewGroup.drawChild(ViewGroup.java:3609)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)
at android.view.View.draw(View.java:16190)
at com.android.internal.policy.PhoneWindow$DecorView.draw(PhoneWindow.java:2946)
at android.view.View.updateDisplayListIfDirty(View.java:15184)
at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:282)
at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:288)
at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:323)
at android.view.ViewRootImpl.draw(ViewRootImpl.java:2623)
at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2442)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2075)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1115)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6023)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:858)
at android.view.Choreographer.doCallbacks(Choreographer.java:670)
at android.view.Choreographer.doFrame(Choreographer.java:606)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5461)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
from htextview.
@YuFong #29 lasted commit has solved this 'rainBow' type
from htextview.
Related Issues (20)
- Working bad with Fragments
- Code is not work as line gif
- ScaleTextView textSize can't be changed at runtime
- cannot generate view binders com.sun.tools.javac.code.Symbol$CompletionFailure: HOT 1
- fix: OnResume getLineLeft crash HOT 1
- Problem with transparent background
- Does not work HOT 2
- can you give support to 64 bit
- Fatal Exception: java.lang.NullPointerException HOT 1
- Fatal Exception: java.lang.NullPointerException HOT 6
- Shaders are not working
- Does not work with non English text
- android.view.InflateException: HOT 1
- Attempt to invoke virtual method 'float android.text.Layout.getLineLeft(int)' on a null object reference HOT 1
- Can anyone gives me the template for running all of the animation?
- Can anyone gives me the template for running all of the animation? HOT 1
- .
- rainbow is not working
- Evaporate setText Color Not Working HOT 3
- Failed to resolve in gradle 9.0 and java 17 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from htextview.