The following is the first few sections of a chapter from The Busy Coder's Guide to Android Development, plus headings for the remaining major sections, to give you an idea about the content of the chapter.


Rich Text

Plain text is so, well, plain.

Fortunately, Android has fairly extensive support for formatted text, before you need to break out something as heavy-weight as WebView. However, some of this rich text support has been shrouded in mystery, particularly how you would allow users to edit formatted text.

This chapter will explain how the rich text support in Android works and how you can take advantage of it, with particular emphasis on some open source projects to help you do just that.

Prerequisites

Understanding this chapter requires that you have read the core chapters, particularly the ones on basic widgets and the input method framework.

The Span Concept

The preview of this section was eaten by a grue.

Loading Rich Text

The preview of this section apparently resembled a Pokémon.

Editing Rich Text

The preview of this section left for Hollywood to appear in a reality TV show.

Saving Rich Text

The preview of this section is sleeping in.

Manipulating Rich Text

The preview of this section was accidentally identified as an Android 'tasty treat' by the Cookie Monster.