Skip to content

twiceyuan/TextJustification

Repository files navigation

Text Justification


TextView 一种分散对齐实现方式。

使用方式:

TextJustification.justify(textView);

原理:

测量 TextView 原始每行的空白宽度总和,使用 Spannable 平均到每个空格上。

效果如下:

Preview

About

一种 TextView 分散对齐效果实现

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages