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

Commit 5af3282c authored by Anton Potapov's avatar Anton Potapov Committed by Android (Google) Code Review
Browse files

Merge "Remove heading from ANC SliceView" into main

parents 814598c7 86535015
Loading
Loading
Loading
Loading
+11 −9
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
package com.android.systemui.volume.panel.component.anc.ui.composable

import android.content.Context
import android.view.ContextThemeWrapper
import android.view.View
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.material3.MaterialTheme
@@ -73,7 +74,8 @@ constructor(
        AndroidView<SliceView>(
            modifier = Modifier.fillMaxWidth(),
            factory = { context: Context ->
                SliceView(context).apply {
                SliceView(ContextThemeWrapper(context, R.style.Widget_SliceView_VolumePanel))
                    .apply {
                        mode = SliceView.MODE_LARGE
                        isScrollable = false
                        importantForAccessibility = View.IMPORTANT_FOR_ACCESSIBILITY_NO
+4 −0
Original line number Diff line number Diff line
@@ -965,6 +965,10 @@
        <item name="android:windowAnimationStyle">@android:style/Animation.Dialog</item>
    </style>

    <style name="Widget.SliceView.VolumePanel">
        <item name="hideHeaderRow">true</item>
    </style>

    <style name="Theme.VolumePanelActivity.Popup" parent="@style/Theme.SystemUI.Dialog">
        <item name="android:dialogCornerRadius">44dp</item>
        <item name="android:colorBackground">?androidprv:attr/materialColorSurfaceContainerHigh