SystemBarTintManager

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

Constructors

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

Types

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

Properties

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

Functions

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