# sendtion/XRichText

一个Android富文本类库，支持图文混排，支持编辑和预览，支持插入和删除图片。

Repository: https://github.com/sendtion/XRichText
Canonical: https://ross.abutalabs.com/products/xrichtext
Language: Java
License Family: other
Topics: richtext, xrichtext, edittext, textview, markdown, html, android, demo
Last push: 2020-02-16T05:03:12+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": 3599, "days_push": 2390, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1780, forks 264 (observed 2026-08-28T04:05:35.402804+00:00)

## What it is
An Android rich text library supporting mixed text-and-image layouts, with both editable (EditText-based) and preview (TextView-based) components. It supports inserting and deleting images with automatic text merging, and outputs data as a list for custom serialization.

## Use cases
- build a note-taking app with inline images on android
- render rich text content with images in a textview
- let users insert and delete images while editing text
- display read-only rich text posts in an android app
- convert rich text editor content to html or markdown
- create a journal app with image-text mixed content

## When to choose
- you need a lightweight android rich text editor with image support
- you want separate edit and preview modes for rich content
- you need control over the data format since output is a plain list
- you want to plug in your own image loader (Glide removed since v1.9.3)

## When to avoid
- you need a cross-platform (Flutter/React Native) rich text solution
- you need actively maintained code - last release was Feb 2020 and it uses the old android support library rather than AndroidX
- you need advanced formatting like tables, video, or nested lists
- you need a web-based WYSIWYG editor

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, image-processing, markdown
- domain: mobile-development, android-tools, text-editors
- platform: jvm
- tags: rich-text, image-text-mixed-layout, edittext, textview, note-taking, html, android, mobile

## Member repositories
- sendtion/XRichText (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:35.402804+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:24:36.983516+00:00, confidence not recorded.
  - readme: https://github.com/sendtion/XRichText (fetched 2026-08-28T04:05:35.402804+00:00, sha 95b2bf117048)
- Data as of 2026-08-30T08:39:29.467469+00:00.
