setStatusBarTintEnabled

public void setStatusBarTintEnabled(boolean enabled)

Enable tinting of the system status bar.

If the platform is running Jelly Bean or earlier, or translucent system UI modes have not been enabled in either the theme or via window flags, then this method does nothing.

Parameters

enabled

True to enable tinting, false to disable it (default).