0

I have a long text, about almost 1000 character including spaces (190 words). I tried to show that on a large textview, but it wasn't that great, didn't look pro, so is there any other idea?

Thanks for helping, and for trying to help.

General Grievance
  • 4,555
  • 31
  • 31
  • 45
Great Dreams
  • 91
  • 3
  • 13

2 Answers2

3

What about using a WebView and pull the data from your resources? The data you load into a webview can come from anywhere, including a local file.

http://developer.android.com/resources/articles/using-webviews.html

Jimtronic
  • 1,179
  • 1
  • 9
  • 22
  • Thanks a lot! Interesting way, I read the link, and the example, a bit lengthy process though. – Great Dreams Oct 25 '11 at 02:19
  • 1
    You can also style a string using the static Html class. eg `Html.fromHtml('my long text');` http://developer.android.com/reference/android/text/Html.html#fromHtml%28java.lang.String%29 – Jimtronic Oct 25 '11 at 02:51
0

wrap the text view in a ScrollView, then it doesn't matter how long your text is.

Yevgeny Simkin
  • 27,946
  • 39
  • 137
  • 236
  • I tried that one already, but didn't link when I wanted to make a sub-point like this: – Great Dreams Oct 25 '11 at 02:20
  • I can't seem to be able to show this in here, but text example is a main text, then the sub text example are suppose to be under text example with some space on the left kind of the same idea as (
    • ) in html - Text example - sub text example - sub text example
    – Great Dreams Oct 25 '11 at 02:21