mathew-kurian/TextJustify-Android

last line when textFormat="formatted"

Opened this issue · 3 comments

Hello,

The last line is automatically justified when using textFormat="formatted". I've seen in another issue here that you suggest to use the JustifiedSpan. The problem with that is I cannot know in advance how long the last line will be, and the span must consist of the entire line (so setting it just to the last character/word won't help). When using textFormat="plain" it works well. I've attached 2 screenshots, so you can see the difference.

Please let me know if there's something I got wrong. If you have any idea of how to solve it, I would be extremely thankful.

Goni

screenshot_20161008-083618 | screenshot_20161008-084909

any update??