Skip to content

duoStatusBar

Inspired by the new iPhone status bar, it condenses the Wi-Fi indicator, battery bar and signal bars into one icon.

GitHub Downloads
6,702
GitHub Stars
32

Overview

An app on the UI layer that merges three icons into one, with customisable size and position.

Tech stack

Features

Three icons in one

UX

Wi-Fi, battery and signal in one icon.

Merges the Wi-Fi indicator, battery bar and signal bars into one icon.

Size and position

UX

Customise the icon's size and position.

Customises the icon's size and position.

Deep-dive

The module hooks SystemUI through the LSPosed API and keeps its own settings surface in a companion app. A global stage value separates the simple drawing path from the full animated path, and an AIDL boundary carries module state between the app and the hooked process. Every change is applied inside the SystemUI scope, so the rest of the system is left untouched.

Kotlin
object Stage { const val OFF = 0; const val SIMPLE = 1; const val FULL = 2 }

val stage = Settings.Global.getInt(contentResolver, "duo_statusbar_stage", Stage.OFF)
if (stage == Stage.OFF) return