Skip to content

Releases: facebook/TextLayoutBuilder

v1.7.0

Choose a tag to compare

@fbcbl fbcbl released this 27 Mar 16:41
  • Adds ability to timeout on isBoringLayout() in TextLayoutBuilder to alleviate ANR.

1.5.0

Choose a tag to compare

@xiphirx xiphirx released this 02 Jul 00:31

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

Choose a tag to compare

@xiphirx xiphirx released this 21 Jun 17:29

bc2efa8 Add new builder param to specify explicit line height.

1.3.1

Choose a tag to compare

@xiphirx xiphirx released this 20 Jun 17:10

fefb033 Fix API check for justification mode

1.3.0

Choose a tag to compare

@xiphirx xiphirx released this 09 May 20:46

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

Choose a tag to compare

@sriramramani sriramramani released this 15 Dec 07:12
  • 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

Choose a tag to compare

@sriramramani sriramramani released this 11 Apr 06:22
  • Added support for min/max ems.
  • Added support for min/max width in pixels.

1.0.0

Choose a tag to compare

@sriramramani sriramramani released this 16 Dec 08:07

This is the initial stable release of TextLayoutBuilder.