I am trying to build something like a text reader. It must have a horizontal slide (normal book-ish), not scroll down.
To accomplish that I am dynamically filling a ViewFlipper with many TextViews. Intuitive idea is that I create a new TextView on each previous TextView overflow, and add it to a ViewFlipper.
I might accomplish that with setMaxLines(), but I can`t get the text that goes beyond that max line.
Question:
How can I move text from one TextView to another on overflow?
or
Am I fundamentally wrong with method I decided to use?
EDIT:
Sorry, I cant make my problem clear for some reason. Maybe this will help:
TextView text1, text2;
String s = "Extreamly long string. Much longer than this one";
text1.setText(s);
text2.setText( // Text that is overflowing //);
How do I figure out what part of the String is visible, and what part is overflowing?
Thanks