Skip to content

Releases: facebook/TextLayoutBuilder

v1.7.0

27 Mar 16:41
Compare
Choose a tag to compare
  • Adds ability to timeout on isBoringLayout() in TextLayoutBuilder to alleviate ANR.

1.5.0

02 Jul 00:31
Compare
Choose a tag to compare

6ccab33 Convert textlayoutbuilder support lib v28 references to androidX
a514cc4 Bump support version to v28
a9a11e6 Add nullable annotations
23cf09b Add a function to calculate the leftmost line position in a static layout.
6e10bd9 Add a workaround for SpannableStringBuilder issue when your string contains null spans
23cd8f1 Avoid getting the line height of the -1st line

1.4.0

21 Jun 17:29
Compare
Choose a tag to compare

bc2efa8 Add new builder param to specify explicit line height.

1.3.1

20 Jun 17:10
Compare
Choose a tag to compare

fefb033 Fix API check for justification mode

1.3.0

09 May 20:46
Compare
Choose a tag to compare

f2e9335 Don't invalidate layout when specifying hyphenationFrequency on older APIs
dc96fcc Use AOSP builder for M+
12c833c Add Justification Mode Support
9300222 added support for letter spacing
23d32ad Let there be Apache-2
611dc1b Catch NPE from Samsung devices < M when checking if layout is boring
c4cd195 Make build() nullable
836c6ab Remove TextLayoutPaint and move hashing to Params
b73c7c0 Refactor paint
2afb1a5 Support specifying more attributes in XML
16cdb97 Fix hashCode calculations

1.2.0

15 Dec 07:12
Compare
Choose a tag to compare
  • Use the new StaticLayout.Builder for v23+
  • Add breakStrategy and hyphenationFrequency to the Builder
  • Allow setting density to TextPaint object to fix AbsoluteSpan issues
  • Add a sample app

1.1.0

11 Apr 06:22
Compare
Choose a tag to compare
  • Added support for min/max ems.
  • Added support for min/max width in pixels.

1.0.0

16 Dec 08:07
Compare
Choose a tag to compare

This is the initial stable release of TextLayoutBuilder.