Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0e2ae4ee authored by Alejandro Nijamkin's avatar Alejandro Nijamkin
Browse files

[flexiglass] Adds horizontal spacing to status bar section.

Title says it all.

Before: https://screenshot.googleplex.com/AKpGm2FmngibHrM
After: https://screenshot.googleplex.com/BJgQKbjpqUfum62
Non-flexiglass, for reference: https://screenshot.googleplex.com/BsteXeQqsGkvPo7

Bug: 316211368
Test: see screenshots above
Flag: ACONFIG com.android.systemui.scene_container DEVELOPMENT
Change-Id: I10c4cbc51667d9a717a0c8bba11e0dad9239c553
parent 8b387a38
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -21,9 +21,11 @@ import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.platform.LocalContext
import androidx.compose.ui.unit.dp
import androidx.compose.ui.viewinterop.AndroidView
import com.android.compose.animation.scene.ElementKey
import com.android.compose.animation.scene.SceneScope
@@ -78,7 +80,7 @@ constructor(
                    view
                },
                modifier =
                    Modifier.fillMaxWidth().height {
                    Modifier.fillMaxWidth().padding(horizontal = 16.dp).height {
                        Utils.getStatusBarHeaderHeightKeyguard(context)
                    },
            )