facebook/TextLayoutBuilder
An Android library that allows you to build text layouts more easily. observed · 2026-08-28
Health v2 · maintenance only
66/100
- Activity 95
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3592
- days_rel: n/a
- days_push: 31
- n_releases_24m: 0
Adoption not part of the score
1472 stars · 133 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
An Android library by Facebook that simplifies building android.text.Layout objects using a builder pattern. It adds layout caching for commonly used strings and FreeType glyph warming to improve text rendering performance.
Use cases
- build StaticLayout instances without boilerplate
- cache text layouts for frequently rendered strings
- speed up text rendering by warming the FreeType glyph cache
- reuse a builder to create similarly styled text layouts
- load text style properties from XML style resources
- draw custom text in a custom View's onDraw
When to choose
- you render text with custom Layouts in custom views on Android
- you need to reduce allocations from repeatedly building identical text layouts
- you want TextView-like configuration for StaticLayout construction
When to avoid
- you just display text in standard TextViews or AppCompat widgets
- your project targets platforms other than Android
- you need a maintained library with active community support
Facets
library · maturity maintenance
ui-components developer-tools mobile-development android-tools performance text-layout builder-pattern text-rendering caching freetype kotlin android mobile
2 sources
- readme: https://github.com/facebook/TextLayoutBuilder · fetched 2026-08-28 · de85490b11c5
- homepage: https://facebook.github.io/TextLayoutBuilder · fetched 2026-08-29 · 53e3d5a50f42
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| facebook/TextLayoutBuilder | main | 66 |
For agents
markdown · JSON · MCP: product_card(name="facebook/TextLayoutBuilder")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem