48.1 Overview

Textview class is a class that can show larger amounts of text in a widget with support for wordwrapping and text formatting. The XML tag's content is used as the initial contents of the text view widget.

Here is an example of how to use the <textview> XML tag:

<textview>Hello World</textview>

Here is the same example in bold:

<textview styled="true">\33bHello World</textview>

The string you specify here can use text formatting codes if Textview.Styled has been set to True. See Text formatting codes for details.

Show TOC