Use transparent card background

This commit is contained in:
tarsin committed 2022-12-07 14:41:59 +08:00
1 parent a20ca4ea2e
commit f1845f2d4e
2 files changed
+4 -2

No files matched your search

+2 -1
View File
@@ -16,7 +16,8 @@
<com.google.android.material.card.MaterialCardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
style="@style/Widget.Material3.CardView.Elevated"
style="@style/Widget.Material3.CardView.Filled"
app:cardBackgroundColor="@android:color/transparent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="4dp"
@@ -16,8 +16,9 @@
<com.google.android.material.card.MaterialCardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/card"
style="@style/Widget.Material3.CardView.Elevated"
style="@style/Widget.Material3.CardView.Filled"
android:layout_width="match_parent"
app:cardBackgroundColor="@android:color/transparent"
android:layout_height="wrap_content"
android:layout_margin="4dp"
android:checkable="true"