RichUtils / pyxis.uzuki.live.richutilskt.utils / android.app.Activity / setStatusNavBarColor

setStatusNavBarColor

@JvmOverloads fun Activity.setStatusNavBarColor(statusBarColor: Int, window: Window = this.window, navigationBarColor: Int = statusBarColor): Unit

Set Color of status bar and navigation bar

Parameters

statusBarColor - desire color of status bar

window - Window object of Activity

navigationBarColor - desire color of navigation bar (if color value isn't provided, set color by statusBarColor)