Ross ROSS = Recommend OSS · open-source software intelligence for agents

SwitchButton

SwitchButton.An beautiful+lightweight+custom-style-easy switch widget for Android,minSdkVersion >= 11 observed · 2026-08-28

github.com/zcweng/SwitchButton · homepage · Kotlin · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

32/100

  • Activity 0
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

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: 3540
  • days_rel: n/a
  • days_push: 964
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

2751 stars · 412 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A lightweight, customizable switch/toggle button widget for Android with no third-party dependencies and no drawable resources. It supports drag interaction, animations, and extensive style customization via XML attributes.

Use cases

  • add a beautiful toggle switch to my Android app
  • customize the colors and shadow of an Android switch widget
  • replace the default Android Switch with a more stylish toggle
  • support drag gestures on a toggle button
  • use a lightweight switch widget without image resources

When to choose

  • you need a highly customizable, dependency-free toggle switch on Android
  • you want drag support and animation effects out of the box
  • your minSdkVersion is 14 or higher and you want a single-file widget

When to avoid

  • you need a switch widget for platforms other than Android
  • you prefer Jetpack Compose components over XML-based views
  • you need actively developed features beyond basic toggle functionality

Facets

library · maturity maintenance

ui-components animation mobile-development android-tools frontend switch-widget toggle-button android-ui custom-views android

2 sources

Member repositories

RepositoryRoleHealth v2
zcweng/SwitchButtonmain32
zcweng/ToggleButtonmirror32

For agents

markdown · JSON · MCP: product_card(name="zcweng/SwitchButton")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem