[Android] HistoryAdapter: harmonise cover art

Edward Wang git at videolan.org
Sun Sep 1 16:30:42 CEST 2013


vlc-ports/android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Sun Sep  1 16:30:35 2013 +0200| [89ce945d1aa3263879b12d4856529951d9944ea5] | committer: Edward Wang

HistoryAdapter: harmonise cover art

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=89ce945d1aa3263879b12d4856529951d9944ea5
---

 vlc-android/src/org/videolan/vlc/gui/HistoryAdapter.java |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/HistoryAdapter.java b/vlc-android/src/org/videolan/vlc/gui/HistoryAdapter.java
index bcb79ee..9742035 100644
--- a/vlc-android/src/org/videolan/vlc/gui/HistoryAdapter.java
+++ b/vlc-android/src/org/videolan/vlc/gui/HistoryAdapter.java
@@ -96,12 +96,12 @@ public class HistoryAdapter extends BaseAdapter {
 
         /* If view not created */
         if (v == null) {
-            v = mInflater.inflate(R.layout.directory_view_item, parent, false);
+            v = mInflater.inflate(R.layout.audio_browser_item, parent, false);
             holder = new DirectoryAdapter.DirectoryViewHolder();
             holder.layout = v.findViewById(R.id.layout_item);
             holder.title = (TextView) v.findViewById(R.id.title);
-            holder.text = (TextView) v.findViewById(R.id.text);
-            holder.icon = (ImageView) v.findViewById(R.id.dvi_icon);
+            holder.text = (TextView) v.findViewById(R.id.artist);
+            holder.icon = (ImageView) v.findViewById(R.id.cover);
             v.setTag(holder);
         } else
             holder = (DirectoryAdapter.DirectoryViewHolder) v.getTag();



More information about the Android mailing list