[Android] UI Preview: fix track list layout + set background
Sébastien Toque
git at videolan.org
Sat May 5 22:40:19 CEST 2012
android | branch: master | Sébastien Toque <xilasz at gmail.com> | Sat May 5 22:15:12 2012 +0200| [1183cf0d2f0a28c73a521f22c107bf2a496264ce] | committer: Sébastien Toque
UI Preview: fix track list layout + set background
> http://git.videolan.org/gitweb.cgi/android.git/?a=commit;h=1183cf0d2f0a28c73a521f22c107bf2a496264ce
---
vlc-android/res/layout-land/media_info.xml | 4 ++--
vlc-android/res/layout/media_info.xml | 4 ++--
.../videolan/vlc/gui/video/MediaInfoAdapter.java | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/vlc-android/res/layout-land/media_info.xml b/vlc-android/res/layout-land/media_info.xml
index a06cbfb..cc9c624 100644
--- a/vlc-android/res/layout-land/media_info.xml
+++ b/vlc-android/res/layout-land/media_info.xml
@@ -2,7 +2,8 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
- android:orientation="vertical" >
+ android:orientation="vertical"
+ android:background="@drawable/background_item1" >
<LinearLayout
android:layout_width="fill_parent"
@@ -21,7 +22,6 @@
android:id="@+id/title"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
- android:background="@drawable/video_list_length_bg"
android:textAppearance="?android:attr/textAppearanceMedium" />
<LinearLayout
diff --git a/vlc-android/res/layout/media_info.xml b/vlc-android/res/layout/media_info.xml
index 24abf82..bc126f9 100644
--- a/vlc-android/res/layout/media_info.xml
+++ b/vlc-android/res/layout/media_info.xml
@@ -2,7 +2,8 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
- android:orientation="vertical" >
+ android:orientation="vertical"
+ android:background="@drawable/background_item1" >
<LinearLayout
android:layout_width="fill_parent"
@@ -21,7 +22,6 @@
android:id="@+id/title"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
- android:background="@drawable/video_list_length_bg"
android:textAppearance="?android:attr/textAppearanceMedium" />
<FrameLayout
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 e2bb707..6b24fc9 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/MediaInfoAdapter.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/MediaInfoAdapter.java
@@ -43,10 +43,10 @@ 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_playlist_child, parent, false);
+ v = inflater.inflate(R.layout.audio_browser_item, parent, false);
holder = new ViewHolder();
holder.title = (TextView) v.findViewById(R.id.title);
- holder.text = (TextView) v.findViewById(R.id.text);
+ holder.text = (TextView) v.findViewById(R.id.artist);
v.setTag(holder);
} else
holder = (ViewHolder) v.getTag();
More information about the Android
mailing list