# bravoborja/ReadMoreTextView

A Custom TextView with trim text

Repository: https://github.com/bravoborja/ReadMoreTextView
Canonical: https://ross.abutalabs.com/products/readmoretextview
Language: Java
License: Apache-2.0
License Family: permissive
Topics: java, readmoretextview, android, android-library, custom, textview
Last push: 2020-04-12T01:14:12+00:00

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

## Adoption (not part of the score)
Stars 1711, forks 228 (observed 2026-08-28T04:05:25.764397+00:00)

## What it is
ReadMoreTextView is an Android custom TextView that collapses long text and shows a clickable 'read more' toggle to expand it. It supports trimming by length or line count with customizable collapsed/expanded labels and colors.

## Use cases
- show long descriptions with a read more link in an Android app
- collapse product reviews to a few lines with expand option
- trim long comments by line count in a feed
- customize the expand/collapse label text and color
- add an expandable text view to an Android layout XML

## When to choose
- you need a drop-in Android TextView with read-more behavior configured via XML attributes
- you want trimming by either character length or line count
- you prefer a small, simple Java library with a permissive Apache-2.0 license

## When to avoid
- you need Jetpack Compose text collapsing instead of XML views
- you need actively maintained code with recent updates
- your project is not Android or uses Kotlin-first libraries exclusively

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components
- domain: mobile-development, android-tools
- platform: -
- tags: textview, read-more, expandable-text, android-ui, java, android

## Member repositories
- bravoborja/ReadMoreTextView (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:25.764397+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-30T03:34:58.424785+00:00, confidence not recorded.
  - readme: https://github.com/bravoborja/ReadMoreTextView (fetched 2026-08-28T04:05:25.764397+00:00, sha 84399fc08aeb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
