java.lang.IllegalArgumentException: Layout: -22 < 0
at android.text.Layout.(Layout.java:253)
at android.text.StaticLayout.(StaticLayout.java:499)
at android.text.StaticLayout.(StaticLayout.java:482)
at android.text.StaticLayout.(StaticLayout.java:468)
at android.text.StaticLayout.(StaticLayout.java:455)
at com.lauzy.freedom.library.LrcView.getTextHeight(LrcView.java:347)
at com.lauzy.freedom.library.LrcView.getItemOffsetY(LrcView.java:334)
at com.lauzy.freedom.library.LrcView.scrollToPosition(LrcView.java:302)
at com.lauzy.freedom.library.LrcView.access$200(LrcView.java:38)
at com.lauzy.freedom.library.LrcView$1.run(LrcView.java:289)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:966)
at android.view.Choreographer.doCallbacks(Choreographer.java:790)
at android.view.Choreographer.doFrame(Choreographer.java:721)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:951)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7356)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
java.lang.IllegalArgumentException: Layout: -22 < 0 at android.text.Layout.(Layout.java:253)
at android.text.StaticLayout.(StaticLayout.java:499)
at android.text.StaticLayout.(StaticLayout.java:482)
at android.text.StaticLayout.(StaticLayout.java:468)
at android.text.StaticLayout.(StaticLayout.java:455)
at com.lauzy.freedom.library.LrcView.getTextHeight(LrcView.java:347)
at com.lauzy.freedom.library.LrcView.getItemOffsetY(LrcView.java:334)
at com.lauzy.freedom.library.LrcView.scrollToPosition(LrcView.java:302)
at com.lauzy.freedom.library.LrcView.access$200(LrcView.java:38)
at com.lauzy.freedom.library.LrcView$1.run(LrcView.java:289)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:966)
at android.view.Choreographer.doCallbacks(Choreographer.java:790)
at android.view.Choreographer.doFrame(Choreographer.java:721)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:951)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7356)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)