# androiddevelop/AlignTextView

字体对齐的textview

Repository: https://github.com/androiddevelop/AlignTextView
Canonical: https://ross.abutalabs.com/products/aligntextview
Language: Java
License: Apache-2.0
License Family: permissive
Topics: android, textview
Last push: 2018-01-14T14:34:05+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4238, "days_push": 3153, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1368, forks 242 (observed 2026-08-28T04:04:31.627447+00:00)

## What it is
An Android library providing AlignTextView and CBAlignTextView custom views that render text with justified (flush both edges) alignment, aimed especially at Chinese typography. CBAlignTextView supports text selection and copy, while AlignTextView allows customizing the last line's alignment.

## Use cases
- justify text in an Android TextView
- display Chinese text with flush left and right edges
- make a selectable text view with justified alignment
- control alignment of the last line in a paragraph
- avoid Chinese punctuation starting a line

## When to choose
- you need justified text alignment on Android, especially for CJK content
- you want selectable, copyable justified text via CBAlignTextView
- you need per-paragraph last-line alignment control

## When to avoid
- you only need standard left/center/right alignment (use built-in TextView)
- you need word-based justification for English text (this library aligns per character)
- you need a actively maintained library (last release was 2018)

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components
- domain: mobile-development, frontend
- platform: -
- tags: textview, text-alignment, justified-text, chinese-text, java, android-ui, android

## Member repositories
- androiddevelop/AlignTextView (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:31.627447+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:41:02.738143+00:00, confidence not recorded.
  - readme: https://github.com/androiddevelop/AlignTextView (fetched 2026-08-28T04:04:31.627447+00:00, sha 28c687e7997e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
