# duanhong169/DrawableToolbox

🛠️ The missing drawable toolbox for Android. Create drawables programmatically and get rid of the boring and always repeated drawable.xml files.

Repository: https://github.com/duanhong169/DrawableToolbox
Canonical: https://ross.abutalabs.com/products/drawabletoolbox
Language: Kotlin
License: Apache-2.0
License Family: permissive
Topics: android-drawables, kotlin, kotlin-android, kotlin-library, programmatically, android, android-library, gradient-drawable, shape-drawable, state-list-drawable, rotate-drawable, scale-drawable, flip-drawable, layer-list, layer-drawable
Last push: 2020-05-20T10:55:31+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2954, "days_push": 2296, "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 1145, forks 97 (observed 2026-08-28T04:03:45.503907+00:00)

## What it is
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
- artifact type: library
- maturity: maintenance
- function: ui-components, graphics
- domain: mobile-development, android-tools, frontend
- platform: jvm
- tags: android-drawables, drawable-builder, kotlin-library, shape-drawable, state-list-drawable, programmatic-ui, android

## Member repositories
- duanhong169/DrawableToolbox (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:45.503907+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-30T06:34:30.184888+00:00, confidence not recorded.
  - readme: https://github.com/duanhong169/DrawableToolbox (fetched 2026-08-28T04:03:45.503907+00:00, sha 84be11410268)
- Data as of 2026-08-30T08:39:29.467469+00:00.
