NB: library itself hosted now in separate repository - github.com/suwhs/wATLlib
APACHE LICENSE 2.0
wATL is a library for android applications with features:
- formatted text full justification,
- wrap text around images,
- auto-hyphenation,
- adapter for show paginated article with stock ViewPager
- supported Android version - 2.3 - 5.1+ (both runtimes - ART and DALVIK)
Demo Application available on Google Play
Usage:
wATLlib published on jcenter repository, so just
add to dependencies :
compile 'su.whs:wATLlib:1.1.7a'
some description on Wiki
-
su.whs.watl.ui.TextViewWS - base class with methods for handling text selection screenshot 1
-
su.whs.watl.ui.ClickableSpanListener - interface for easy handle clicks on drawable onClick() method receive view, span position, and coordinates of image within view
-
su.whs.watl.ui.TextViewEx - class (replacement for stock TextView) with full text justification support (enabled by default) screenshot 2