add card icons

This commit is contained in:
2026-05-18 04:35:20 +05:00
parent 3a10f36c39
commit 9431a90cd0
5 changed files with 44 additions and 27 deletions
+7 -11
View File
@@ -14,18 +14,14 @@
android:gravity="center_vertical"
android:foreground="?attr/selectableItemBackground">
<!-- Brand chip -->
<TextView
android:id="@+id/tvCardBrand"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingHorizontal="10dp"
android:paddingVertical="6dp"
<!-- Brand logo -->
<ImageView
android:id="@+id/ivCardBrand"
android:layout_width="48dp"
android:layout_height="32dp"
android:layout_marginEnd="16dp"
android:textAppearance="?attr/textAppearanceLabelSmall"
android:textColor="@android:color/white"
android:fontFamily="monospace"
android:background="@drawable/chip_background" />
android:scaleType="fitCenter"
android:contentDescription="Card brand" />
<!-- Card name + number -->
<LinearLayout