Reputation: 2454
In my Android app, I am currently using the following deprecated APIs for edge-to-edge and system UI customizations:
android.view.Window.setDecorFitsSystemWindows
android.view.Window.setStatusBarColor
android.view.Window.setNavigationBarColor
android.view.Window.setNavigationBarDividerColor
android.view.Window.getStatusBarColor
ui.edge_to_edge.EdgeToEdgeOSWrapper.setDecorFitsSystemWindows
These APIs are deprecated in Android API 35 and above. Could you anyone guide me on the replacement APIs or best practices for implementing edge-to-edge UI and customizing system UI elements (such as status bar and navigation bar) on Android 35+?
Upvotes: 1
Views: 509