Code Monkey home page Code Monkey logo

Comments (5)

mathew-kurian avatar mathew-kurian commented on July 28, 2024

No problem! Can you do two things and I can help you fix it?

  1. What font size are you using?
  2. What Option/method are you using from the library?

from textjustify-android.

yvonne3 avatar yvonne3 commented on July 28, 2024

Hi bluejamesbond,
Thanks for your wonderful guide and when I tried the Option 1, I got an error on my MainActivity.java -"textViewEx cannot be resolved or is not a field", even I tried many times cleaning the project or restarting Eclipse. Please advice am I missing any steps? Appreciate for prompt reply.

from textjustify-android.

mathew-kurian avatar mathew-kurian commented on July 28, 2024

I am not what is going wrong, why don't you send me the project via email.

from textjustify-android.

DeveloperBeginner avatar DeveloperBeginner commented on July 28, 2024

I too am facing the same problem of last line characters getting truncated.
I am using a font size of 16 sp and using draw based setup from the library to get the text justified.

from textjustify-android.

mathew-kurian avatar mathew-kurian commented on July 28, 2024

I haven't had much time to work on this but a temporary fix is changing this value:

Line 85: verticalOffset = horizontalFontOffset = getLineHeight() - 0.5f; // Temp fix

Change the 0.5f or the line-height to something that fits your needs.

from textjustify-android.

Related Issues (20)

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.