[Android] Fix playlist appearence

Geoffrey Métais git at videolan.org
Mon Nov 16 18:30:35 CET 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Nov 16 18:29:40 2015 +0100| [3a8cec85fc65d7ae166ab4afe42ce1214802afde] | committer: Geoffrey Métais

Fix playlist appearence

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

 vlc-android/res/layout/audio_player.xml  |    1 +
 vlc-android/res/layout/playlist_item.xml |    6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/vlc-android/res/layout/audio_player.xml b/vlc-android/res/layout/audio_player.xml
index 9c28d1e..d91646e 100644
--- a/vlc-android/res/layout/audio_player.xml
+++ b/vlc-android/res/layout/audio_player.xml
@@ -130,6 +130,7 @@
             android:layout_width="match_parent"
             android:layout_height="match_parent"
             android:clipToPadding="false"
+            android:background="?attr/background_default"
             android:paddingBottom="@dimen/listview_bottom_padding" />
 
         <org.videolan.vlc.gui.view.CoverMediaSwitcher
diff --git a/vlc-android/res/layout/playlist_item.xml b/vlc-android/res/layout/playlist_item.xml
index 5d0aa04..eb18122 100644
--- a/vlc-android/res/layout/playlist_item.xml
+++ b/vlc-android/res/layout/playlist_item.xml
@@ -24,14 +24,15 @@
     <RelativeLayout
         android:orientation="vertical" android:layout_width="match_parent"
         android:layout_height="wrap_content"
-        android:background="?attr/background_default">
+        android:layout_marginTop="3dip"
+        android:layout_marginBottom="3dip"
+        android:layout_marginLeft="5dip">
         <TextView
             android:id="@+id/audio_item_title"
             android:layout_width="match_parent"
             android:layout_height="wrap_content"
             android:layout_marginLeft="5dip"
             android:layout_marginRight="5dip"
-            android:layout_marginTop="5dip"
             android:layout_alignParentLeft="true"
             android:layout_alignParentTop="true"
             android:layout_toLeftOf="@+id/length"
@@ -48,7 +49,6 @@
             android:layout_width="match_parent"
             android:layout_height="wrap_content"
             android:text="@{subTitle}"
-            android:layout_marginBottom="5dip"
             android:layout_marginLeft="5dip"
             android:layout_marginRight="5dip"
             android:layout_alignParentLeft="true"



More information about the Android mailing list