# zagum/Android-SwitchIcon

Google launcher-style implementation of switch (enable/disable) icon

Repository: https://github.com/zagum/Android-SwitchIcon
Canonical: https://ross.abutalabs.com/products/android-switchicon
Language: Kotlin
License: Apache-2.0
License Family: permissive
Topics: icons, switch, material, material-ui, android
Last push: 2024-04-16T11:55:35+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": 3524, "days_push": 869, "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 2312, forks 219 (observed 2026-08-28T04:06:36.552692+00:00)

## What it is
An Android UI library providing a SwitchIconView custom view that renders Google launcher-style enable/disable toggle icons with animated state switching. It extends AppCompatImageView and is configurable via XML attributes like tint color, disabled alpha, and animation duration.

## Use cases
- add a Google launcher-style toggle icon to my Android app
- animate an icon between enabled and disabled states
- show a dash overlay when a feature is disabled
- customize tint and alpha for switchable icons in Android
- build a settings toggle with animated icon feedback

## When to choose
- you need a polished, animated enable/disable icon on Android with minimal code
- you want a drop-in AppCompatImageView subclass configurable via XML attributes
- your app supports older Android versions down to API 15

## When to avoid
- you need a full toggle button or switch widget rather than just an icon
- you are not building an Android app
- you need cross-platform (Flutter, React Native) icon components

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, animation
- domain: mobile-development, android-tools, frontend
- platform: -
- tags: android-ui, switch-icon, material-design, kotlin, custom-view, android, mobile

## Member repositories
- zagum/Android-SwitchIcon (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:36.552692+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-30T02:39:31.741146+00:00, confidence not recorded.
  - readme: https://github.com/zagum/Android-SwitchIcon (fetched 2026-08-28T04:06:36.552692+00:00, sha 6588200d2242)
- Data as of 2026-08-30T08:39:29.467469+00:00.
