pinguo-zhouwei/CustomPopwindow
对PopupWindow常用API的简单封装,几行代码就搞定PopupWindow弹窗,使用Builder模式,链式调用,像使用AlertDialog 一样 observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: no_license
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: 3563
- days_rel: n/a
- days_push: 3346
- n_releases_24m: 0
Adoption not part of the score
1412 stars · 296 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
An Android library that wraps Android's PopupWindow with a Builder-pattern, chainable API so popups can be configured and shown in a few lines of code, similar to using AlertDialog. It adds conveniences like background dimming, custom animations, and control over dismiss-on-outside-touch behavior.
Use cases
- show a popup window in Android with a few lines of code
- create a dropdown popup anchored to a view
- dim the background when a popup is shown
- prevent popup from closing when tapping outside
- add custom show/dismiss animations to a popup
- use PopupWindow like AlertDialog with chained configuration
When to choose
- you frequently show PopupWindow-based menus or tooltips in an Android app and want to eliminate boilerplate
- you want AlertDialog-style chained configuration for popups
- you need background dimming or outside-touch dismiss control with Android 6.0/7.0 compatibility
When to avoid
- you need dialogs with buttons and standard dialog UI (use AlertDialog or Material Components instead)
- you use Jetpack Compose, where PopupWindow wrappers are unnecessary
- you need an actively maintained library with a license and ongoing updates
Facets
library · maturity maintenance
ui-components mobile-framework mobile-development android-tools developer-tools jvm popup-window builder-pattern android-ui chained-api dialog android mobile
1 source
- readme: https://github.com/pinguo-zhouwei/CustomPopwindow · fetched 2026-08-28 · 1dfd88ef895b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pinguo-zhouwei/CustomPopwindow | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="pinguo-zhouwei/CustomPopwindow")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem