开发者

plain text display with vert. scrolling?

Is there an example that would allow a few hundred or thousand words, with paragraphs and CRs, to开发者_如何学运维 be displayed in a basic Hello World-style text display, complete with a vert. scroll bar (or vertical grab and move up or down)?

Thanks.


Use a WebView. Convert your carriage returns into <br> tags via replaceAll() on String.

Or, use a TextView inside of a ScrollView.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜