finds.dev← search

// the find

hongyangAndroid/Highlight

★ 3,179 · Java · Apache-2.0 · updated Jan 2022

一个用于app指向性功能高亮的库

An Android library for feature spotlight/onboarding overlays — draws a semi-transparent mask over your UI and punches out highlighted shapes (circle, oval, rect) around specific views, with optional tooltip layouts positioned around each target. Aimed at Android developers who need a guided tour on first launch. Documentation is in Chinese.

Custom highlight shapes are properly extensible — BaseLightShape gives you direct Canvas access so you can draw anything, not just the three built-in shapes. The anchor-based scoping is useful: you can restrict the overlay to a sub-view rather than always going full-screen. The OnLayoutCallback addition in 1.8.0 correctly solves the timing problem of showing the overlay before layout is complete, which most similar libraries get wrong. ViewPager offset bug (views rendering off-screen) was actually tracked and fixed rather than left open.

Dead since January 2022 and distributed via Bintray, which shut down in May 2021 — the Maven coordinate in the README literally cannot be resolved anymore, so new adopters have to clone and build locally. No Kotlin, no Compose support: the entire API is View-system-only and will need a full rewrite when targeting modern Android. Tip layout positioning is manual pixel math with margin offsets; there is no automatic collision avoidance, so tooltip layouts routinely clip off-screen on small displays. Zero tests beyond empty AndroidTest stubs — the library has no unit or instrumentation test coverage at all.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →