dongjunkun/CouponView
半圆锯齿背景虚线边框组合实现简单优惠券效果,可实现一些简单组合 observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- 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: n/a
- age_days: 3636
- days_rel: n/a
- days_push: 3334
- n_releases_24m: 0
Adoption not part of the score
1525 stars · 229 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
An Android custom View library that draws coupon-style backgrounds with semicircle notches and dashed borders, fully customizable via XML attributes or code. It also provides a helper class to add the same notched background to other View subclasses.
Use cases
- draw coupon ticket UI with notched edges in an Android app
- add dashed borders to a view without image assets
- create punch-hole semicircle edges on a card layout
- build promotional voucher screens in Android
- apply sawtooth background effects to LinearLayout or TextView
- customize dash line color, gap, and margins per side
When to choose
- you need coupon/ticket visuals on Android without PNG backgrounds
- you want per-side control of notches and dashed lines via XML attributes
- you want to reuse the effect on custom View subclasses via the helper
When to avoid
- you need coupon UI on iOS, web, or non-Android platforms
- you need complex animated or interactive coupon effects beyond static drawing
- you need a maintained library with recent updates (last release 2017)
Facets
library · maturity maintenance
ui-components graphics mobile-development android-tools e-commerce jvm android-view coupon custom-view dashed-border semicircle-notch ui-widget android
2 sources
- readme: https://github.com/dongjunkun/CouponView · fetched 2026-08-28 · 9b93a0aee4c6
- homepage: http://www.jianshu.com/p/b27d0f9b3856 · fetched 2026-08-29 · 1a8f463daed2
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| dongjunkun/CouponView | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="dongjunkun/CouponView")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem