[Android] VideoListCard: fix compat crash

Duncan McNamara git at videolan.org
Mon Aug 1 05:38:24 UTC 2022


vlc-android | branch: master | Duncan McNamara <dcn.mcnamara at gmail.com> | Fri Jul 29 17:55:50 2022 +0200| [f06f3eaac405ec115965ca66f37060b286776acb] | committer: Duncan McNamara

VideoListCard: fix compat crash

> https://code.videolan.org/videolan/vlc-android/commit/f06f3eaac405ec115965ca66f37060b286776acb
---

 application/vlc-android/res/layout/video_list_card.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/application/vlc-android/res/layout/video_list_card.xml b/application/vlc-android/res/layout/video_list_card.xml
index 4ccd6f2c2..ab5576535 100644
--- a/application/vlc-android/res/layout/video_list_card.xml
+++ b/application/vlc-android/res/layout/video_list_card.xml
@@ -174,7 +174,7 @@
                         android:visibility="@{!isPresent ? View.VISIBLE : View.GONE}"
                         vlc:layout_constraintStart_toStartOf="@+id/ml_item_thumbnail"
                         vlc:layout_constraintTop_toTopOf="@+id/ml_item_thumbnail"
-                        android:src="@drawable/ic_emoji_absent"/>
+                        vlc:srcCompat="@drawable/ic_emoji_absent"/>
 
                 <ImageView
                         android:id="@+id/ml_item_seen"



More information about the Android mailing list