← al-mo.de
Floating Mute icon

Floating Mute

Mute and unmute your Android with a single tap — from a floating button that sits on top of any app.

F-Droid version

Floating Mute screenshot 1 Floating Mute screenshot 2 Floating Mute screenshot 3 Floating Mute screenshot 4 Floating Mute screenshot 5

Overview

Watching a YouTube Short, a Reel, or any video and need silence now? One tap on the floating button mutes your device — another tap restores the exact volume you had before. No pulling down the status bar, no volume rocker, no leaving the app.

What I built

Sole developer and maintainer. The app draws a persistent overlay with WindowManager (TYPE_APPLICATION_OVERLAY) that survives outside the app, backed by a foreground Service so Android's background limits don't kill it. It hooks the system AudioManager and a ContentObserver to stay in sync with hardware volume changes, and persists per-orientation button positions and theme settings.

Recent work: migrated to a foreground service to fix background kills, rebuilt the UI on Material 3 with Material You dynamic colour and runtime Light/Dark/System theming, added a live-preview Themes screen (size, colour, opacity, corner radius), bubble-style drag-to-hide, and fixed a launch crash on Android 14+. Releases are reproducible builds verified by F-Droid.

Built with

Language

Kotlin

Platform

Android SDK (minSdk 21 · targetSdk 34) Foreground Service WindowManager overlay AudioManager

Libraries

AndroidX AppCompat Fragments Material Components (Material 3) Kotlin Coroutines AndroidX Lifecycle

Build & delivery

Gradle (Kotlin DSL + version catalogs) Fastlane metadata F-Droid reproducible builds Git

Features

One-tap mute / unmute

Unmuting restores the previous volume level automatically.

Drag it anywhere

Position remembered separately for portrait and landscape.

Runs as a foreground service

Android won't kill it in the background.

Material 3 & Material You

Dynamic colours, instant Light / Dark / System switching.

Themes screen

Button size, colours (transparent too), opacity and corners, with a live preview.

Hide it like a bubble

Drag to the bottom edge to hide; bring it back from the notification.

Live volume percentage

Optional percentage shown beside the button; long-press to toggle.

Auto-adjusts

Tracks changes made with the hardware volume keys.

Free & open source

Floating Mute is licensed under the GPL-3.0. No ads, no tracking, no account. Reproducible builds are verified by F-Droid. Issues and contributions are welcome on GitHub.

Android GPL-3.0 Package: com.github.mkalmousli.floating_mute By Mohamad Almousli