I have a text view that holds a string "Hello World"
Currently because of view size it only shows "Hello Wo"
How can i make it display the end of the string instead e.g. "lo World"?
I have a text view that holds a string "Hello World"
Currently because of view size it only shows "Hello Wo"
How can i make it display the end of the string instead e.g. "lo World"?
From the information you have provided, it's quite hard to understand what you are asking.
As far as I could understand your question, it's a string manipulation question rather than an Android question. If not please update your question and also provide layout XML code.
String a="Hello World"; //or whatever your actaul text is a=yourTextView.getText()
String b="Hello Wo"; //As you claim you know the exact length of the displayed text
String c=a.substring(a.length()-b.length(),a.length());
yourTextView.setText(c);
Hope this helps!!