Thanks.
I chose an EditText rather than a Label because the person will need to enter text via the keyboard.
My main question is about handling scrolling/knowing when to delete old text.
Suppose you have three lines of text: A really long line of text that wraps around to the next line in the control, a short line, and another really long line of text that wraps around. When displaying this text it will require five lines within the control, but suppose the control is only tall enough support 4 lines of text. I don't want to have a scrollview, make the control larger, and scroll the control. I want to remove the first long line of text and only display the last three lines – similar to old video display terminals.
Erel has a function, I believe it's in StringUtils, that returns the height required to display multi-line text.
I adjust the number of lines of text based on how many lines will fit into the control. If the number of lines of text height is greater than the height of the control, I delete the oldest lines of text until it fits. I haven't had 100% success using this algorithm.
It seems so easy on paper
. Any suggestions for doing something similar to this?