forked from shihaam/thijooree
add card icons
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user