Home

Awesome

LIBRARY IS NO LONGER MAINTAINED

If you want to adopt + maintain this library, please drop me a message - bluejamesbond@gmail.com

Gittip Android Arsenal Build Status Maven Central
Logo

Android Full Justification

About

This library will provide you a way to justify text. It supports both plain text and Spannables. Additionally, the library can auto-hyphentate your displayed content (thanks to @muriloandrade).

Compatible for Android 2.2 to 5.X

Other Libraries

Screenshot

Preview

Demo

Imgur

#Recent 01/11/2015 ► Added support for very long documents with fading and progress listener
01/10/2015 ► Refractored / renamed classes
01/04/2015 ► Improved caching support which allows for smooth scrolling
01/02/2015 ► Added XML attributes for DocumentView

Wiki

For examples, tests, and API refer to the Android-TextJustify Wiki.

Install

Just add to your build.gradle

dependencies {
    compile 'com.github.bluejamesbond:textjustify-android:2.1.6'
}

Known Issues

StatusIssues
CLOSEDScroll caching for very large documents i.e. > 4000 paragaphs
OPENAdd letter-spacing feature like CSS
OPENImprove text strike-through
OPENImprove text underline
CLOSEDSupport more features like TextView in terms of Paint settings