deliangliao / TextJustify-Android

实现文字左右两边对齐。Android Text Full Jusiftication / Wrapping / Justify - V2.0

Home Page:https://github.com/bluejamesbond/TextJustify-Android/wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

#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.

Donate

#Install Just add to your build.gradle

dependencies {
    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.

#Screenshot Preview

About

实现文字左右两边对齐。Android Text Full Jusiftication / Wrapping / Justify - V2.0

https://github.com/bluejamesbond/TextJustify-Android/wiki

License:Apache License 2.0


Languages

Language:Java 100.0%