Wednesday 15 January 2014

widget - Android TextView Lines Collection -


I have a textView that contains 10 lines and two variables, alpha and beta as a property < P> I want to use alpha in the first two rows of TextView and Beta, use the remaining rows or 3-10

How do I process my Java? I can not find any way to address lines collection directly.

This does not work:

  TextView.setText.Lines [1] ("This is a test for alpha"); TextView.setText.Lines [3] ("This is a test for beta \ n which are \ n more lines than alpha");   

TiA Trey

You can not do this, lines TextView If you want, you can use two text waves, one with 2 lines and the other with 8.

No comments:

Post a Comment