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
#Recent
1/4/2014 ► Improved caching support which allows for smooth scrolling
1/2/2014 ► Added XML attributes for DocumentView
#Wiki For examples, tests, and API refer to the Android-TextJustify Wiki.
#Donate If for some reason you like the library and feel like thanking me. Here you go! Thank you in advance.
#Install
Just add to your build.gradle
dependencies {
compile 'com.github.bluejamesbond:textjustify-android:1.5.1'
// compile 'com.github.bluejamesbond:textjustify-android:1.5'
// compile 'com.github.bluejamesbond:textjustify-android:1.4'
// compile 'com.github.bluejamesbond:textjustify-android:1.3'
// compile 'com.github.bluejamesbond:textjustify-android:1.2'
// compile 'com.github.bluejamesbond:textjustify-android:1.1'
// compile 'com.github.bluejamesbond:textjustify-android:1.0'
}
#Known Issues
Status | Issues |
---|---|
OPEN |
Scroll caching for very large documents i.e. > 4000 paragaphs |
OPEN |
Add letter-spacing feature like CSS |
OPEN |
Improve text strike-through |
OPEN |
Improve text underline |
OPEN |
Support more features like TextView in terms of Paint settings |
#Demo Download the demo on Google Play Store.