Share2Storage icon indicating copy to clipboard operation
Share2Storage copied to clipboard

Review theme and edge to edge setup

Open MateusRodCosta opened this issue 1 year ago • 0 comments

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

MateusRodCosta avatar May 10 '24 15:05 MateusRodCosta