Skip to content
This repository has been archived by the owner on Apr 27, 2019. It is now read-only.

2 · Which Layout For Me?

Mathew Kurian edited this page Jan 14, 2015 · 5 revisions

The following examples should show you how to setup the files. The goal is the select the correct layout for use with DocumentView.

Available Layouts for DocumentView

There will be improvements to both the classes in the future; but for now there are pros and cons for using each.

###StringDocumentLayout #####► DocumentView.PLAIN_TEXT

  • Spannable support
  • RTL support
  • Plain text optimizations
  • Auto-hyphenation

###SpannedDocumentLayout #####► DocumentView.FORMATTED_TEXT

  • Spannable support
  • RTL support
  • Plain text optimizations
  • Auto-hyphenation
Clone this wiki locally