# amulyakhare/TextDrawable

This light-weight library provides images with letter/text like the Gmail app. It extends the Drawable class thus can be used with existing/custom/network ImageView classes. Also included is a fluent interface for creating drawables and a customizable ColorGenerator.

Repository: https://github.com/amulyakhare/TextDrawable
Canonical: https://ross.abutalabs.com/products/textdrawable
Language: Java
License: MIT
License Family: permissive
Last push: 2021-09-02T12:32:50+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4336, "days_push": 1826, "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 3141, forks 614 (observed 2026-08-28T04:07:45.884680+00:00)

## What it is
A lightweight Android library that generates letter/text-based drawable images similar to Gmail's contact avatars. It extends the Drawable class so it works with any existing, custom, or network ImageView, and includes a fluent builder API plus a customizable ColorGenerator.

## Use cases
- generate gmail-style letter avatars in android
- create colored text tiles for list views
- show initial-based placeholder images for contacts
- generate consistent colors per user email or key
- build rounded or circular letter badges in android ui

## When to choose
- you need lightweight letter/initial avatars without external image assets
- you want deterministic color assignment for users or list items
- you want drawables that plug directly into standard ImageViews

## When to avoid
- you need full image loading or caching from the network
- you are not building an Android app
- you need actively maintained libraries with recent releases

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, image-processing
- domain: mobile-development, android-tools, frontend
- platform: jvm
- tags: drawable, avatar-placeholder, letter-tiles, fluent-api, color-generator, gmail-style, imageview, android, mobile

## Member repositories
- amulyakhare/TextDrawable (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:45.884680+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-30T07:26:01.507898+00:00, confidence not recorded.
  - readme: https://github.com/amulyakhare/TextDrawable (fetched 2026-08-28T04:07:45.884680+00:00, sha 826223d9686e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
