Skip to content

Commit

Permalink
[Refactor] Set transparent background for cards with 0 elevation
Browse files Browse the repository at this point in the history
Signed-off-by: Muntashir Al-Islam <[email protected]>
  • Loading branch information
MuntashirAkon committed Jan 28, 2024
1 parent a70f149 commit 87f4a00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libcore/ui/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@
<style name="Widget.AppTheme.CardView.ListItem" parent="Widget.Material3.CardView.Elevated">
<item name="cardCornerRadius">?attr/listItemCornerRadius</item>
<item name="cardElevation">0dp</item>
<item name="cardBackgroundColor">@android:color/transparent</item>
</style>

<style name="Widget.AppTheme.CardView.ListItem.Padded" parent="Widget.AppTheme.CardView.ListItem">
Expand Down

0 comments on commit 87f4a00

Please sign in to comment.