[Android] Revert using src to display the cover to avoid breaking item selection.

Nicolas Pomepuy git at videolan.org
Tue Feb 26 09:56:09 CET 2019


vlc-android | branch: master | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Fri Feb 22 08:37:10 2019 +0100| [234938c2cab1fd2a381248baee53dfc8eb63c1b0] | committer: Geoffrey Métais

Revert using src to display the cover to avoid breaking item selection.

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

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

diff --git a/vlc-android/res/layout/audio_browser_item.xml b/vlc-android/res/layout/audio_browser_item.xml
index 20b61c909..50fb3d8ac 100644
--- a/vlc-android/res/layout/audio_browser_item.xml
+++ b/vlc-android/res/layout/audio_browser_item.xml
@@ -57,7 +57,7 @@
             android:layout_marginStart="16dp"
             android:layout_marginTop="8dp"
             android:layout_marginBottom="8dp"
-            android:src="@{cover}"
+            android:background="@{cover}"
             vlc:itemType="@{type}"
             vlc:layout_constraintBottom_toBottomOf="parent"
             vlc:layout_constraintDimensionRatio="1"



More information about the Android mailing list