wATL for Android
License
Community version under GPL v3 and Commercial License
Need Apache 2.0 License! - support project on indiegogo - or just send some ETH to 0x1D50523b85A2A5283027b8ccB109a4bDc9c79EB1 - any help is appreciated
Description
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)
- supports animation with DrawableSpan
- and more...
Demo Application available on Google Play
Quick Start
Usage:
wATLlib published on jcenter repository, so just
add to dependencies :
compile 'su.whs:wATLlib:1.2.3'
more info whs.su
commercial license for non-gpl project on whs.su
Published Classes
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
-
su.whs.watl.text.BaseTextPagerAdapter - class for using with ViewPager