laobie/StatusBarUtil
A util for setting status bar style on Android App. 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: 3852
- days_rel: n/a
- days_push: 1531
- n_releases_24m: 0
Adoption not part of the score
8745 stars · 1703 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
StatusBarUtil is a Java utility library for Android that simplifies setting the status bar style (color, translucency, transparency) on apps running API 19 and above. It provides static helper methods for common scenarios including DrawerLayout layouts, ImageView headers, Fragments, and swipe-back pages.
Use cases
- set android status bar color
- make status bar translucent on android
- immersive status bar android app
- status bar color for drawerlayout
- change status bar style in fragment
- status bar color for swipe back activity
When to choose
- you need quick status bar color/transparency control on Android 4.4+ without writing system UI flag code yourself
- your app uses DrawerLayout, ImageView headers, or ViewPager fragments and needs consistent status bar styling
- you want a simple static-method API callable right after setContentView
When to avoid
- you target only Android 5.0+ and prefer native themes or the official WindowInsetsController APIs
- you use Jetpack Compose, where this View-based utility does not apply
- you need an actively maintained dependency - the last release was 2022 and JCenter is deprecated
Facets
library · maturity maintenance
ui-components developer-tools mobile-development android-tools jvm status-bar immersive-mode android-ui utility-library android mobile
2 sources
- readme: https://github.com/laobie/StatusBarUtil · fetched 2026-08-28 · 27659e6ee720
- homepage: http://t.cn/Rq746Kb · fetched 2026-08-29 · 3671966fc1a5
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| laobie/StatusBarUtil | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="laobie/StatusBarUtil")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem