Guide and Overview
What it does in plain English
ImmersionBar allows developers to easily customize the top status bar and bottom navigation bar on Android devices. It automatically handles complex screen layouts, such as those with notches or varying screen shapes, ensuring a consistent look across different phones. With just a single line of code, you can adjust colors, transparency, and icon styles to match your app’s design perfectly.
Who it’s for
- Android app developers looking to polish their user interface without writing complex system-level code.
- Designers who want to ensure their app looks professional and modern on all screen sizes and device types.
Key features
- Simple Integration: Apply immersive styles to activities, fragments, and dialogs with minimal setup.
- Device Compatibility: Automatically adapts to notches, different screen aspect ratios, and soft keyboard pop-ups.
- Visual Customization: Easily change the colors of status and navigation bars, as well as the color of icons and text.
- Smart Handling: Includes built-in tools to manage layout overlaps and ensure content isn’t hidden behind system bars.
How to install (Download)
To use this tool in your project, add the following dependency to your build.gradle file:
implementation 'com.geyifeng.immersionbar:immersionbar:3.3.3'
You can also download the demonstration application to see how it works in practice: Download immersionBar-3.3.3.apk
Pros and Cons
- Pros: Completely free and open-source, highly customizable, and handles edge cases like notches and keyboards automatically.
- Cons: Requires basic knowledge of Android development and Gradle to implement; some advanced layout adjustments may require minor manual configuration.
Sponsored Partner Tools (#ad)
Optional commercial services unrelated to the open-source developer. Clicking an #ad link helps fund HubHum at no extra cost to you.
- ★ Top Recommended — Systeme.io: Free-forever all-in-one platform to build landing pages, newsletters, and automated workflows with zero monthly fees — Activate Systeme.io → (#ad)
- AdGuard: Block intrusive ads, tracking scripts, and phishing domains system-wide across all browsers and desktop apps — AdGuard (#ad)
- InterServer: Launch and host self-hosted web apps 24/7 on managed Linux cloud VPS servers starting at $3/month — InterServer (#ad)
Official Source & Credits: Official Source / Credits