duanhong169/DrawableToolbox
🛠️ The missing drawable toolbox for Android. Create drawables programmatically and get rid of the boring and always repeated drawable.xml files. 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-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2954
- days_rel: n/a
- days_push: 2296
- n_releases_24m: 0
Adoption not part of the score
1145 stars · 97 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Kotlin library for Android that lets developers create drawables (shape, rotate, scale, ripple, layer-list, flip) programmatically via a fluent DrawableBuilder API. It eliminates the need for repetitive drawable.xml resource files.
Use cases
- create android drawables in kotlin code
- replace drawable.xml files with programmatic drawables
- build shape drawables with pressed and ripple states
- create rounded rectangle backgrounds programmatically
- build layer-list and state-list drawables in code
When to choose
- you want to define drawables in Kotlin/Java code instead of XML resources
- you need many similar drawables with slight variations and want to reduce XML boilerplate
- you want state-based colors and ripple effects in a single builder call
When to avoid
- your project relies primarily on XML resource-based styling and designers hand off drawable XML files
- you need drawable types not supported by the library, such as vector or animation drawables
- you need a library with recent updates or active maintenance
Facets
library · maturity maintenance
ui-components graphics mobile-development android-tools frontend jvm android-drawables drawable-builder kotlin-library shape-drawable state-list-drawable programmatic-ui android
1 source
- readme: https://github.com/duanhong169/DrawableToolbox · fetched 2026-08-28 · 84be11410268
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| duanhong169/DrawableToolbox | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="duanhong169/DrawableToolbox")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem