Skip to content

Commit e4f4d9d

Browse files
dsn5ftgsajith
authored andcommitted
Update Card List Drag Demo to use app:srcCompat for drag handle vector drawable
PiperOrigin-RevId: 245743179
1 parent 32a28f5 commit e4f4d9d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

catalog/java/io/material/catalog/card/res/layout/cat_card_list_item.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
<com.google.android.material.card.MaterialCardView
1919
xmlns:android="http://schemas.android.com/apk/res/android"
20+
xmlns:app="http://schemas.android.com/apk/res-auto"
2021
android:id="@+id/cat_card_list_item_card"
2122
android:layout_width="match_parent"
2223
android:layout_height="wrap_content"
@@ -42,5 +43,5 @@
4243
android:layout_height="wrap_content"
4344
android:layout_gravity="end"
4445
android:padding="16dp"
45-
android:src="@drawable/ic_drag_handle_vd_theme_24px"/>
46+
app:srcCompat="@drawable/ic_drag_handle_vd_theme_24px"/>
4647
</com.google.android.material.card.MaterialCardView>

0 commit comments

Comments
 (0)