# kyleduo/SwitchButton

A cute widget of Switch Button for  you to create beautiful and friendly UI.

Repository: https://github.com/kyleduo/SwitchButton
Canonical: https://ross.abutalabs.com/products/kyleduo-switchbutton
Language: Java
License Family: other
Topics: switchbutton, android, widget
Last push: 2023-12-02T12:28:42+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": 4376, "days_push": 1005, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4745, forks 864 (observed 2026-08-28T04:08:57.856171+00:00)

## What it is
An Android UI library providing a customizable SwitchButton (toggle) widget for building friendly, beautiful interfaces. It supports styling, text labels, and flexible size configuration via XML attributes.

## Use cases
- add a toggle switch to an Android app
- customize a switch button's colors and style in Android
- use a switch widget with text labels in Android layouts
- replace the default Android switch with a prettier one
- handle switch state changes in a settings screen

## When to choose
- you need a customizable toggle/switch widget in an Android (Java) app
- you want fine-grained control over switch size, text, and appearance
- you need a lightweight drop-in view available from Maven Central

## When to avoid
- you are building for iOS, web, or non-Android platforms
- you prefer Jetpack Compose over XML-based views
- you need a library with an explicit open-source license or active maintenance guarantees

## Facets
- artifact type: library
- maturity: stable
- function: ui-components
- domain: mobile-development, android-tools
- platform: -
- tags: switch-button, toggle, widget, java, custom-view, android

## Member repositories
- kyleduo/SwitchButton (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:57.856171+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-29T18:18:56.555314+00:00, confidence not recorded.
  - readme: https://github.com/kyleduo/SwitchButton (fetched 2026-08-28T04:08:57.856171+00:00, sha e2e8589f69f4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
