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

getActivity/ShapeView

Shape 支持在布局中直接定义啦,支持设置阴影,文字渐变色,状态选择器 observed · 2026-08-28

github.com/getActivity/ShapeView · Java · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

80/100

  • Activity 80
  • Release rhythm 69
  • 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: 65
  • age_days: 1873
  • days_rel: 124
  • days_push: 124
  • n_releases_24m: 6

Full methodology

Adoption not part of the score

1057 stars · 103 forks observed · 2026-08-28

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

An Android UI library that lets developers define shape drawables (rectangles, ovals, gradients, shadows, state selectors) directly in XML layouts via custom views like ShapeButton, ShapeTextView, and ShapeEditText. It eliminates the need to write separate drawable resource files, with Java builder APIs for runtime changes.

Use cases

  • define rounded button backgrounds directly in android xml layouts
  • add shadows to android views without drawable files
  • set gradient text color on android textview
  • create state selector backgrounds for buttons in layout
  • replace shape drawable xml resources with layout attributes
  • style edittext and imageview shapes in android

When to choose

  • building Android apps that heavily use shape drawables and want less XML boilerplate
  • you want shape, shadow, and gradient styling defined inline in layouts
  • your project is on AndroidX and Java

When to avoid

  • your project still uses the old Support libraries without migration plans
  • you prefer Compose-based UI instead of XML layouts
  • you need cross-platform UI components

Facets

library · maturity active

ui-components graphics mobile-development android-tools frontend jvm android-ui shape-drawable custom-views xml-attributes androidx gradient-text shadow-layout state-selector android mobile

1 source

Member repositories

RepositoryRoleHealth v2
getActivity/ShapeViewmain80

For agents

markdown · JSON · MCP: product_card(name="getActivity/ShapeView")

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