ktx-androidx
4.0.2
ktx-androidx
/
com.ayvytr.ktx.ui
/
setLightStatusBar
set
Light
Status
Bar
fun
Activity
.
setLightStatusBar
(
isLight
:
Boolean
=
true
)
Content copied to clipboard
设置状态栏为Light/Dark模式,
Since
4.0.0
Parameters
is
Light
true: 亮色模式,文字和图标都是白色;false:暗色模式:文字和图标都是黑色