# gyf-dev/ImmersionBar

android 4.4以上沉浸式状态栏和沉浸式导航栏管理，适配横竖屏切换、刘海屏、软键盘弹出等问题，可以修改状态栏字体颜色和导航栏图标颜色，以及不可修改字体颜色手机的适配，适用于Activity、Fragment、DialogFragment、Dialog，PopupWindow，一句代码轻松实现，以及对bar的其他设置，详见README。简书请参考：http://www.jianshu.com/p/2a884e211a62

Repository: https://github.com/gyf-dev/ImmersionBar
Canonical: https://ross.abutalabs.com/products/immersionbar
Language: Java
License: Apache-2.0
License Family: permissive
Topics: statusbar, navigationbar, bar, immersion, status, navigation, dialog, android, kotlin
Last push: 2026-08-01T06:32:47+00:00

## Health v2 (maintenance only)
Score: 96/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 95, release rhythm 95, longevity 100
- inputs: {"age_days": 3423, "days_push": 32, "days_rel": 32, "gap_med": 8, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 11470, forks 1913 (observed 2026-08-28T04:10:48.238723+00:00)

## What it is
An Android library for managing immersive (transparent) status bars and navigation bars on Android 4.4+, with one-line setup for Activities, Fragments, Dialogs, and PopupWindows. It handles edge cases like orientation changes, notch/landscape screens, and soft keyboard popups, and allows changing status bar font and navigation bar icon colors.

## Use cases
- make android status bar transparent
- immersive status bar android library
- adapt app to notch screens
- change status bar font color android
- handle status bar with soft keyboard
- immersive navigation bar in fragment or dialog

## When to choose
- You need immersive status/navigation bars across Android 4.4+ with broad device adaptation
- You need notch, landscape, and keyboard edge-case handling out of the box
- You want one-line setup for Activities, Fragments, Dialogs, and PopupWindows

## When to avoid
- You target only Android 15+ where edge-to-edge is enforced by the system
- You use Jetpack Compose exclusively and prefer Compose-native edge-to-edge APIs
- You need theming beyond status/navigation bar customization

## Facets
- artifact type: library
- maturity: stable
- function: ui-components, mobile-framework
- domain: mobile-development, android-tools, web-design
- platform: jvm
- tags: immersive-mode, status-bar, navigation-bar, notch-adaptation, ui-styling, android

## Member repositories
- gyf-dev/ImmersionBar (main) score 96

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:48.238723+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:15:34.076445+00:00, confidence not recorded.
  - readme: https://github.com/gyf-dev/ImmersionBar (fetched 2026-08-28T04:10:48.238723+00:00, sha b6bb0a640db0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
