[Android] Audio Browser : Enlarge cover and adjust spaces

Alexandre Perraud git at videolan.org
Mon Feb 16 18:29:17 CET 2015


vlc-ports/android | branch: master | Alexandre Perraud <4leyx4ndre at gmail.com> | Mon Feb 16 18:24:49 2015 +0100| [cfc571112ad80552be0cb2d298d6b280e0fda2e6] | committer: Alexandre Perraud

Audio Browser : Enlarge cover and adjust spaces

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

 vlc-android/res/layout/audio_browser_item.xml      |    4 ++--
 vlc-android/res/layout/audio_browser_separator.xml |    2 +-
 vlc-android/res/values/dimens.xml                  |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/vlc-android/res/layout/audio_browser_item.xml b/vlc-android/res/layout/audio_browser_item.xml
index 1fd4a23..03c7aeb 100644
--- a/vlc-android/res/layout/audio_browser_item.xml
+++ b/vlc-android/res/layout/audio_browser_item.xml
@@ -8,8 +8,8 @@
     <RelativeLayout
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
-        android:layout_marginBottom="15dp"
-        android:layout_marginTop="15dp" >
+        android:layout_marginBottom="10dp"
+        android:layout_marginTop="10dp" >
 
         <ImageView
             android:id="@+id/cover"
diff --git a/vlc-android/res/layout/audio_browser_separator.xml b/vlc-android/res/layout/audio_browser_separator.xml
index 2ff9d02..6c59e0b 100644
--- a/vlc-android/res/layout/audio_browser_separator.xml
+++ b/vlc-android/res/layout/audio_browser_separator.xml
@@ -10,7 +10,7 @@
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         android:layout_marginLeft="10dip"
-        android:layout_marginTop="5dip"
+        android:layout_marginTop="10dip"
         android:singleLine="true"
         android:text="@string/title"
         android:textColor="?attr/audio_browser_separator"
diff --git a/vlc-android/res/values/dimens.xml b/vlc-android/res/values/dimens.xml
index b377b69..d696404 100644
--- a/vlc-android/res/values/dimens.xml
+++ b/vlc-android/res/values/dimens.xml
@@ -1,7 +1,7 @@
 <resources>
     <dimen name="shadow_width">6px</dimen>
     <dimen name="widget_margin">10dp</dimen>
-    <dimen name="audio_browser_item_size">40dp</dimen>
+    <dimen name="audio_browser_item_size">50dp</dimen>
     <dimen name="directory_browser_item_size">40dp</dimen>
     <dimen name="listview_bottom_padding">50dp</dimen>
     <dimen name="listview_side_padding">5dp</dimen>



More information about the Android mailing list