I am new to android development...
How to Display multi lines in a Screen...
here i m using StringTokenizer....i m displaying in Textview....it displays
last text only ..i think it override the text with in it....
can u tell anybody how to Display a whole String in a Screen.....here i want
to use textview or anything else...pls suggest me....
Thanks in advance
with regards,
Raghav.S
This is My Code:
txt=(TextView)findViewById(R.id.txt);
String str="this.is.a.test.example.1";
StringTokenizer st = new StringTokenizer(str,".");
while (st.hasMoreTokens()) {
txt.setText(st.nextToken());
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---