grantland/android-autofittextview
A TextView that automatically resizes text to fit perfectly within its bounds. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- 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: 5679
- days_rel: n/a
- days_push: 2790
- n_releases_24m: 0
Adoption not part of the score
4250 stars · 686 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
An Android library providing a TextView subclass that automatically resizes its text to fit within its bounds. It can be applied to any TextView via a helper, an XML layout wrapper, or a built-in widget.
Use cases
- make text shrink to fit a fixed-size TextView on Android
- display headlines that fit within a button or label regardless of length
- auto-scale text size in XML layouts with min/max text size
- apply autofit behavior to any existing TextView subclass in code
When to choose
- you need text to always fit its container on Android without truncation
- you want a drop-in TextView replacement or layout wrapper for autofit behavior
When to avoid
- you are not developing for Android
- you need a maintained library with recent updates - the last release was in 2019
- Android's built-in autosizing TextView (android:autoSizeTextType) meets your needs
Facets
library · maturity maintenance
ui-components mobile-development android-tools textview autofit-text android-ui text-sizing android
1 source
- readme: https://github.com/grantland/android-autofittextview · fetched 2026-08-28 · e7c7925c7775
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| grantland/android-autofittextview | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="grantland/android-autofittextview")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem