[Android] Lighter playlist

Geoffrey Métais git at videolan.org
Fri Mar 6 14:24:23 CET 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Mar  6 14:22:27 2015 +0100| [c4f4f2e502c7730ae8452c710b767ec284449142] | committer: Geoffrey Métais

Lighter playlist

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

 vlc-android/res/layout/audio_player.xml        |    4 +---
 vlc-android/res/layout/audio_playlist_item.xml |    4 +++-
 vlc-android/res/values/styles.xml              |    2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/vlc-android/res/layout/audio_player.xml b/vlc-android/res/layout/audio_player.xml
index 354aad1..836ca00 100644
--- a/vlc-android/res/layout/audio_player.xml
+++ b/vlc-android/res/layout/audio_player.xml
@@ -23,7 +23,6 @@
         android:layout_width="fill_parent"
         android:layout_height="60dip"
         android:gravity="center_vertical"
-        android:background="?attr/background_player"
         android:orientation="horizontal" >
 
         <org.videolan.vlc.gui.audio.widget.HeaderMediaSwitcher
@@ -93,8 +92,7 @@
         android:id="@+id/view_switcher"
         android:layout_width="match_parent"
         android:layout_height="match_parent"
-        android:layout_weight="1"
-        android:background="?attr/background_playlist" >
+        android:layout_weight="1" >
 
         <org.videolan.vlc.gui.audio.AudioPlaylistView
             android:id="@+id/songs_list"
diff --git a/vlc-android/res/layout/audio_playlist_item.xml b/vlc-android/res/layout/audio_playlist_item.xml
index 75e50e7..421a3ef 100644
--- a/vlc-android/res/layout/audio_playlist_item.xml
+++ b/vlc-android/res/layout/audio_playlist_item.xml
@@ -2,12 +2,14 @@
 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     android:layout_width="fill_parent"
     android:layout_height="wrap_content"
-    android:orientation="vertical" >
+    android:orientation="vertical">
 
     <org.videolan.vlc.widget.AudioPlaylistItemViewGroup
         android:id="@+id/playlist_item"
         android:layout_width="fill_parent"
         android:layout_height="wrap_content"
+        android:layout_marginBottom="5dp"
+        android:layout_marginTop="5dp"
         android:descendantFocusability="blocksDescendants" >
 
         <View
diff --git a/vlc-android/res/values/styles.xml b/vlc-android/res/values/styles.xml
index 62f47ea..5177bd3 100644
--- a/vlc-android/res/values/styles.xml
+++ b/vlc-android/res/values/styles.xml
@@ -27,7 +27,7 @@
         <item name="item_common_pressed">@color/item_common_pressed</item>
         <item name="item_common_selected">@color/item_common_selected</item>
         <item name="item_footer">@color/item_footer</item>
-        <item name="playlist_item_footer">@color/grey2</item>
+        <item name="playlist_item_footer">@color/item_footer</item>
         <item name="background_default">@color/grey50</item>
         <item name="background_default_darker">@color/grey100</item>
         <item name="background_actionbar">@color/darkorange</item>



More information about the Android mailing list