/wATLlib

standalone wATL library

Primary LanguageJava

wATL for Android

UPDATE: migration for androidx since 1.4.7a

License

Community version under APACHE 2.0 LICENSE

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 - 9.1+ (both runtimes - ART and DALVIK)
  • supports animation with DrawableSpan
  • and more...

Demo Video on Youtube

Quick Start

Usage:

wATLlib published on jcenter repository, so just

add to dependencies :

compile 'su.whs:wATLlib:1.4.7a'

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

Contacts

info@whs.su