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