Share2Storage
Share2Storage copied to clipboard
Review theme and edge to edge setup
Current the main theme is defined as
<style name="Theme.App" parent="@android:style/Theme.Material.Light.NoActionBar">
Consider using the equivalent AppCompat theme in a future version.
The following parameters are defined to be able to have white icons, confirm later:
<item name="android:navigationBarColor">@android:color/transparent</item>
<item name="android:statusBarColor">@android:color/transparent</item>
<item name="android:windowLightStatusBar">false</item>
And this is the code to manually enable EdgeToEdge while supporting the white icons:
WindowCompat.setDecorFitsSystemWindows(window, false)
val windowInsetsController = WindowCompat.getInsetsController(window, window.decorView)
windowInsetsController.isAppearanceLightNavigationBars = true
Check all these details for a next version