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

You Might Also Like
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free now
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