Tweak grid compact items

Removes card elevation as it visually conflicts with the scrim, this also makes the scrim a bit darker to emphasize the text and slightly reduces the border radius.
This commit is contained in:
PixelyIon 2022-03-11 15:58:08 +05:30
parent 1d984b6de3
commit 3e4ec7323b
2 changed files with 4 additions and 8 deletions

View File

@ -2,8 +2,8 @@
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<gradient
android:angle="270"
android:endColor="#80000000"
android:endColor="#E0000000"
android:centerColor="#00000000"
android:startColor="#00000000"
android:type="linear" />
</shape>
</shape>

View File

@ -5,12 +5,8 @@
android:id="@+id/item_click_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="10dp"
android:layout_marginTop="10dp"
android:layout_marginEnd="10dp"
android:layout_marginBottom="10dp"
app:cardCornerRadius="16dp"
app:cardElevation="2dp">
android:layout_margin="7.5dp"
app:cardCornerRadius="14dp">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"