Commit fdfa037d authored by Viktor De Pasquale's avatar Viktor De Pasquale Committed by John Wu

Added very slight hint of the card being selectable

parent db4ef144
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_selected="true">
<shape android:shape="rectangle">
<corners android:bottomLeftRadius="@dimen/r1" android:topRightRadius="@dimen/r1" />
<solid android:color="?colorSurfaceVariant" />
<stroke android:width="1.5dp" android:color="?colorSurfaceVariant" />
</shape>
</item>
<item>
<shape android:shape="rectangle">
<corners android:bottomLeftRadius="@dimen/r1" android:topRightRadius="@dimen/r1" />
<stroke android:width="1.5dp" android:color="?colorSurfaceVariant" />
</shape>
</item>
</selector>
\ No newline at end of file
......@@ -130,6 +130,13 @@
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.appcompat.widget.AppCompatImageView
isSelected="@{item.enabled}"
android:layout_width="@dimen/l1"
android:layout_height="@dimen/l1"
android:layout_gravity="right|top"
app:srcCompat="@drawable/ic_card_check" />
</com.google.android.material.card.MaterialCardView>
......
......@@ -178,6 +178,13 @@
</LinearLayout>
<androidx.appcompat.widget.AppCompatImageView
isSelected="@{item.enabled}"
android:layout_width="@dimen/l1"
android:layout_height="@dimen/l1"
android:layout_gravity="right|top"
app:srcCompat="@drawable/ic_card_check" />
</com.google.android.material.card.MaterialCardView>
</layout>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment