GithubHelp home page GithubHelp logo

lyricview's Issues

I have follow problem. Can I fixed it ?

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)

关于LyricView兼容性的建议

我使用网易云音乐API获取音乐歌词,使用LyricView显示歌词
但是部分歌词第一行会写作者[By:xxx]不写播放时间
导致整个View不显示内容
能不能添加一个自动检测功能,删除不规则的行?
感谢

Problem with Arabic Lyrics

Hello ,
there's a problem when i use arabic lyrics ,
the lyrics goes to the right of the screen and a small part is shown of the end of the text

Recommendation

is there any solution to add typing effect on current play line?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.