public class SetStatusBarColor
extends java.lang.Object
Constructor and Description |
---|
SetStatusBarColor() |
Modifier and Type | Method and Description |
---|---|
int |
getActionBarHeight(android.app.Activity activity) |
int |
getStatusBarHeight(android.app.Activity activity) |
void |
setStatusBarColor(android.view.View statusBar,
int color,
android.app.Activity activity)
set (statusBar: systemBar + actionBar) View to (color) with given (activity)
|
void |
setSystemBarColor(android.view.View statusBar,
int color,
android.app.Activity activity)
set (systemBar only) View to (color) with given (activity)
|
public void setStatusBarColor(android.view.View statusBar, int color, android.app.Activity activity)
statusBar
- Viewcolor
- intactivity
- FragmentActivitypublic void setSystemBarColor(android.view.View statusBar, int color, android.app.Activity activity)
statusBar
- Viewcolor
- intactivity
- FragmentActivitypublic int getActionBarHeight(android.app.Activity activity)
activity
- public int getStatusBarHeight(android.app.Activity activity)
activity
-