mathew-kurian / TextJustify-Android

:page_facing_up: Android Text Full Jusiftication / Wrapping / Justify / Hyphenate - V2.0
https://github.com/bluejamesbond/TextJustify-Android/wiki
Apache License 2.0
1.86k stars 370 forks source link

How to fill screen with the spannable text? #96

Open jamshid88 opened 9 years ago

jamshid88 commented 9 years ago

we are making ebook, and it has page curl animation, it hasn't scroll. I use textview-justify android instead of textview. So, how do i define spannable string length for current screen? The text will be different size and height.

mathew-kurian commented 9 years ago

You define the dimensions and text of your document view. The library should take care of the rest. Just review the provided examples.

jamshid88 commented 9 years ago

i use documentLaoyut, we will set text documentLayout and we define height, we will set text again and.. so it's working normally but i need more time. i think, it should cache the text or ... It works slowly for tablets.