Skip to content

Commit

Permalink
SystemUI: Use transparent background for QS footer
Browse files Browse the repository at this point in the history
Signed-off-by: anoosragh69 <[email protected]>
  • Loading branch information
neobuddy89 authored and anoosragh69 committed Jun 7, 2024
1 parent dadac8c commit f2d2a2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ fun FooterActions(
}
}

val backgroundColor = colorAttr(R.attr.underSurface)
val backgroundColor = Color.Transparent
val contentColor = LocalAndroidColorScheme.current.onSurface
val backgroundTopRadius = dimensionResource(R.dimen.qs_corner_radius)
val backgroundModifier =
Expand Down Expand Up @@ -319,7 +319,7 @@ private fun TextButton(
) {
Expandable(
shape = CircleShape,
color = colorAttr(R.attr.underSurface),
color = Color.Transparent,
contentColor = LocalAndroidColorScheme.current.onSurfaceVariant,
borderStroke = BorderStroke(1.dp, colorAttr(R.attr.shadeInactive)),
modifier = modifier.padding(horizontal = 4.dp),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
-->
<inset xmlns:android="http://schemas.android.com/apk/res/android">
<shape>
<solid android:color="@color/footer_actions_bg"/>
<solid android:color="@android:color/transparent"/>
<corners android:topLeftRadius="@dimen/qs_corner_radius"
android:topRightRadius="@dimen/qs_corner_radius"
android:bottomLeftRadius="@dimen/qs_corner_radius"
Expand Down

0 comments on commit f2d2a2a

Please sign in to comment.