https://kotlinlang.org logo
Title
u

user

07/25/2022, 12:41 AM
Why doesn't isAppearanceLightStatusBars affect on Status bar content color programmatically? I've tried to change the color of status bar content using isAppearanceLightStatusBars: override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_splash_screen) WindowCompat.setDecorFitsSystemWindows(window, false) val controller = ViewCompat.getWindowInsetsController(window.decorView) controller?.isAppearanceLightStatusBars = true } it doesn't change anything, but when i change it in...