[Android] Tweak audio player layouts

Edward Wang git at videolan.org
Mon Sep 23 00:04:08 CEST 2013


vlc-ports/android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Sun Sep 22 18:04:01 2013 -0400| [09eebd63577e8819dda8fc60f95a42edf60627ff] | committer: Edward Wang

Tweak audio player layouts

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

 vlc-android/res/layout-land/audio_player.xml |   19 ++-----------------
 vlc-android/res/layout/audio_player.xml      |   15 +--------------
 vlc-android/res/layout/audio_player_qvga.xml |   13 +------------
 3 files changed, 4 insertions(+), 43 deletions(-)

diff --git a/vlc-android/res/layout-land/audio_player.xml b/vlc-android/res/layout-land/audio_player.xml
index f97355e..a89883d 100644
--- a/vlc-android/res/layout-land/audio_player.xml
+++ b/vlc-android/res/layout-land/audio_player.xml
@@ -5,21 +5,6 @@
     android:background="@drawable/bg_with_shadow"
     android:orientation="vertical" >
 
-    <LinearLayout
-        android:layout_width="fill_parent"
-        android:layout_height="48dip"
-        android:background="@drawable/header"
-        android:orientation="horizontal" >
-
-        <ImageView
-            android:layout_width="wrap_content"
-            android:layout_height="fill_parent"
-            android:contentDescription="@string/app_name"
-            android:scaleType="centerInside"
-            android:src="@drawable/header_logo" />
-
-    </LinearLayout>
-
     <FrameLayout
         android:layout_width="fill_parent"
         android:layout_height="wrap_content"
@@ -67,8 +52,8 @@
 
         <ImageView
             android:id="@+id/cover"
-            android:layout_width="140dip"
-            android:layout_height="140dip"
+            android:layout_width="110dip"
+            android:layout_height="110dip"
             android:background="#00ffffff"
             android:contentDescription="@string/cover_art" />
 
diff --git a/vlc-android/res/layout/audio_player.xml b/vlc-android/res/layout/audio_player.xml
index 2b886b6..9a0819c 100644
--- a/vlc-android/res/layout/audio_player.xml
+++ b/vlc-android/res/layout/audio_player.xml
@@ -5,20 +5,7 @@
     android:layout_width="fill_parent"
     android:layout_height="fill_parent"
     android:background="@drawable/bg_with_shadow">
-<!--
-    <LinearLayout
-        android:layout_width="fill_parent"
-        android:layout_height="48dip"
-        android:orientation="horizontal"
-        android:background="@drawable/header">
-        <ImageView
-            android:src="@drawable/header_logo"
-            android:layout_width="wrap_content"
-            android:layout_height="fill_parent"
-            android:scaleType="centerInside"
-            android:contentDescription="@string/app_name" />
-    </LinearLayout>
--->
+
     <LinearLayout
         android:layout_width="fill_parent"
         android:layout_height="0dip"
diff --git a/vlc-android/res/layout/audio_player_qvga.xml b/vlc-android/res/layout/audio_player_qvga.xml
index 024dbe8..67373f3 100644
--- a/vlc-android/res/layout/audio_player_qvga.xml
+++ b/vlc-android/res/layout/audio_player_qvga.xml
@@ -5,18 +5,7 @@
     android:layout_width="fill_parent"
     android:layout_height="fill_parent"
     android:background="@drawable/bg_with_shadow">
-    <LinearLayout
-        android:layout_width="fill_parent"
-        android:layout_height="48dip"
-        android:orientation="horizontal"
-        android:background="@drawable/header">
-        <ImageView
-            android:src="@drawable/header_logo"
-            android:layout_width="wrap_content"
-            android:layout_height="fill_parent"
-            android:scaleType="centerInside"
-            android:contentDescription="@string/app_name" />
-    </LinearLayout>
+
     <LinearLayout
         android:layout_width="fill_parent"
         android:layout_height="0dip"



More information about the Android mailing list