Apply background tinting to the Android system UI when using KitKat translucent modes. Android 4.4 (KitKat) introduced translucent system UI styling for status and navigation bars. These styles are great for wallpaper based activities like the home screen launcher, but the minimal background protection provided makes them less useful for other types of activity unless you supply your own backgrounds inside your layout. Determining the size, position and existence of the system UI for a given device configuration can be non-trivial. This library offers a simple way to create a background "tint" for the system bars, be it a color value or Drawable. By default it will give you a semi-opaque black background that will be useful for full-bleed content screens where persistent system UI is still important - like when placed over a map or photo grid.

Features

  • You must first enable translucency in your Activity, either by using or inheriting from one of the various themes
  • You can safely use this library on Android versions back to API 10
  • Developers should not need to concern themselves with the size or positioning of the system UI
  • Download and include the JAR in your project, or add the dependency in your build.gradle
  • This repository also includes a sample app which you can download from Google Play
  • This library offers a simple way to create a background "tint" for the system bars

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow Android System Bar Tint

Android System Bar Tint Web Site

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Android System Bar Tint!

Additional Project Details

Operating Systems

Android

Programming Language

Java

Related Categories

Java User Interface (UI) Software

Registered

2021-09-30