# SystemBarTintManager

public class SystemBarTintManager

Class to manage status and navigation bar tint effects when using KitKat translucent system UI modes.

## Constructors

SystemBarTintManager
Link copied to clipboard
public void SystemBarTintManager(Activity activity)
Constructor.

## Types

SystemBarConfig
Link copied to clipboard
public class SystemBarConfig
Class which describes system bar sizing and other characteristics for the current device configuration.

## Properties

DEFAULT_TINT_COLOR
Link copied to clipboard
public final static int DEFAULT_TINT_COLOR
The default system bar tint color value.

## Functions

getConfig
Link copied to clipboard
public SystemBarTintManager.SystemBarConfig getConfig()
Get the system bar configuration.
isNavBarTintEnabled
Link copied to clipboard
public boolean isNavBarTintEnabled()
Is tinting enabled for the system navigation bar?
isStatusBarTintEnabled
Link copied to clipboard
public boolean isStatusBarTintEnabled()
Is tinting enabled for the system status bar?
setNavigationBarAlpha
Link copied to clipboard
public void setNavigationBarAlpha(float alpha)
Apply the specified alpha to the system navigation bar.
setNavigationBarTintColor
Link copied to clipboard
public void setNavigationBarTintColor(int color)
Apply the specified color tint to the system navigation bar.
setNavigationBarTintDrawable
Link copied to clipboard
public void setNavigationBarTintDrawable(Drawable drawable)
Apply the specified drawable to the system navigation bar.
setNavigationBarTintEnabled
Link copied to clipboard
public void setNavigationBarTintEnabled(boolean enabled)
Enable tinting of the system navigation bar.
setNavigationBarTintResource
Link copied to clipboard
public void setNavigationBarTintResource(int res)
Apply the specified drawable or color resource to the system navigation bar.
setStatusBarAlpha
Link copied to clipboard
public void setStatusBarAlpha(float alpha)
Apply the specified alpha to the system status bar.
setStatusBarTintColor
Link copied to clipboard
public void setStatusBarTintColor(int color)
Apply the specified color tint to the system status bar.
setStatusBarTintDrawable
Link copied to clipboard
public void setStatusBarTintDrawable(Drawable drawable)
Apply the specified drawable to the system status bar.
setStatusBarTintEnabled
Link copied to clipboard
public void setStatusBarTintEnabled(boolean enabled)
Enable tinting of the system status bar.
setStatusBarTintResource
Link copied to clipboard
public void setStatusBarTintResource(int res)
Apply the specified drawable or color resource to the system status bar.
setTintAlpha
Link copied to clipboard
public void setTintAlpha(float alpha)
Apply the specified alpha to all system UI bars.
setTintColor
Link copied to clipboard
public void setTintColor(int color)
Apply the specified color tint to all system UI bars.
setTintDrawable
Link copied to clipboard
public void setTintDrawable(Drawable drawable)
Apply the specified drawable to all system UI bars.
setTintResource
Link copied to clipboard
public void setTintResource(int res)
Apply the specified drawable or color resource to all system UI bars.