setLightNavigationBar

open fun setLightNavigationBar(@NonNull window: Window, isLight: Boolean)

Changes the foreground color of the navigation bars to light or dark so that the items on the bar can be read clearly.

Parameters

window

Window that hosts the status bars

isLight

true to make the foreground color light.