The ComponentActivity.enableEdgeToEdge extension works great for changing the background of the status bar, but doesn't work for compileSdkVersion == 35. It is always transparent. Why does this happen and how to fix it?
But code for changing status bar indicators color works as before
fun Activity.setupStatusBarIndicatorsColor(isLightStatusBar: Boolean) { WindowCompat.getInsetsController(window, window.decorView).isAppearanceLightStatusBars = !isLightStatusBar && isLightMode }
I have read offical documentation and can't find any example