[Android] GUI: rename the audio_browser_item
Adrien Maglo
git at videolan.org
Wed Jan 29 16:21:31 CET 2014
vlc-ports/android | branch: master | Adrien Maglo <magsoft at videolan.org> | Wed Jan 29 16:15:41 2014 +0100| [4065bac1f94f865dd6462c9527b2066f1b6f68de] | committer: Adrien Maglo
GUI: rename the audio_browser_item
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=4065bac1f94f865dd6462c9527b2066f1b6f68de
---
vlc-android/res/layout/{audio_browser_item.xml => list_item.xml} | 0
vlc-android/src/org/videolan/vlc/gui/HistoryAdapter.java | 2 +-
vlc-android/src/org/videolan/vlc/gui/video/MediaInfoAdapter.java | 2 +-
3 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/vlc-android/res/layout/audio_browser_item.xml b/vlc-android/res/layout/list_item.xml
similarity index 100%
rename from vlc-android/res/layout/audio_browser_item.xml
rename to vlc-android/res/layout/list_item.xml
diff --git a/vlc-android/src/org/videolan/vlc/gui/HistoryAdapter.java b/vlc-android/src/org/videolan/vlc/gui/HistoryAdapter.java
index 5e388ba..ec07e27 100644
--- a/vlc-android/src/org/videolan/vlc/gui/HistoryAdapter.java
+++ b/vlc-android/src/org/videolan/vlc/gui/HistoryAdapter.java
@@ -81,7 +81,7 @@ public class HistoryAdapter extends BaseAdapter {
/* If view not created */
if (v == null) {
- v = mInflater.inflate(R.layout.audio_browser_item, parent, false);
+ v = mInflater.inflate(R.layout.list_item, parent, false);
holder = new DirectoryAdapter.DirectoryViewHolder();
holder.layout = v.findViewById(R.id.layout_item);
holder.title = (TextView) v.findViewById(R.id.title);
diff --git a/vlc-android/src/org/videolan/vlc/gui/video/MediaInfoAdapter.java b/vlc-android/src/org/videolan/vlc/gui/video/MediaInfoAdapter.java
index 3d4c5e0..d234216 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/MediaInfoAdapter.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/MediaInfoAdapter.java
@@ -43,7 +43,7 @@ public class MediaInfoAdapter extends ArrayAdapter<TrackInfo> {
View v = convertView;
if (v == null) {
LayoutInflater inflater = (LayoutInflater) getContext().getSystemService(Context.LAYOUT_INFLATER_SERVICE);
- v = inflater.inflate(R.layout.audio_browser_item, parent, false);
+ v = inflater.inflate(R.layout.list_item, parent, false);
holder = new ViewHolder();
holder.title = (TextView) v.findViewById(R.id.title);
holder.text = (TextView) v.findViewById(R.id.artist);
More information about the Android
mailing list