[Android] Audio browser: remove the old landscape layout of the audio player

Adrien Maglo git at videolan.org
Wed Nov 27 19:27:22 CET 2013


vlc-ports/android | branch: master | Adrien Maglo <magsoft at videolan.org> | Wed Nov 27 16:52:20 2013 +0100| [f50cad8ddfc016097a73cf1211a62957b5b50e6c] | committer: Adrien Maglo

Audio browser: remove the old landscape layout of the audio player

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

 vlc-android/res/layout-land/audio_player.xml |  211 --------------------------
 1 file changed, 211 deletions(-)

diff --git a/vlc-android/res/layout-land/audio_player.xml b/vlc-android/res/layout-land/audio_player.xml
deleted file mode 100644
index a89883d..0000000
--- a/vlc-android/res/layout-land/audio_player.xml
+++ /dev/null
@@ -1,211 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
-    android:layout_width="fill_parent"
-    android:layout_height="fill_parent"
-    android:background="@drawable/bg_with_shadow"
-    android:orientation="vertical" >
-
-    <FrameLayout
-        android:layout_width="fill_parent"
-        android:layout_height="wrap_content"
-        android:layout_marginLeft="10dip"
-        android:layout_marginRight="10dip"
-        android:layout_marginTop="10dip" >
-
-        <TextView
-            android:id="@+id/time"
-            android:layout_width="wrap_content"
-            android:layout_height="wrap_content"
-            android:layout_gravity="left|center_vertical"
-            android:clickable="true"
-            android:onClick="onTimeLabelClick"
-            android:text="@string/time_0"
-            android:textColor="#ffffff"
-            android:textSize="18sp" />
-
-        <SeekBar
-            android:id="@+id/timeline"
-            android:layout_width="fill_parent"
-            android:layout_height="wrap_content"
-            android:maxHeight="4dip"
-            android:minHeight="4dip"
-            android:paddingLeft="60dip"
-            android:paddingRight="60dip"
-            android:progressDrawable="@drawable/po_seekbar"
-            android:thumb="@drawable/ic_seekbar_thumb" />
-
-        <TextView
-            android:id="@+id/length"
-            android:layout_width="wrap_content"
-            android:layout_height="wrap_content"
-            android:layout_gravity="right|center_vertical"
-            android:text="@string/time_0"
-            android:textColor="#ffffff"
-            android:textSize="18sp" />
-    </FrameLayout>
-
-    <LinearLayout
-        android:layout_width="fill_parent"
-        android:layout_height="wrap_content"
-        android:layout_margin="10dip"
-        android:orientation="horizontal" >
-
-        <ImageView
-            android:id="@+id/cover"
-            android:layout_width="110dip"
-            android:layout_height="110dip"
-            android:background="#00ffffff"
-            android:contentDescription="@string/cover_art" />
-
-        <LinearLayout
-            android:layout_width="0dip"
-            android:layout_height="wrap_content"
-            android:layout_gravity="center"
-            android:layout_weight="1"
-            android:orientation="vertical" >
-
-            <TextView
-                android:id="@+id/title"
-                android:layout_width="fill_parent"
-                android:layout_height="wrap_content"
-                android:layout_marginBottom="4dip"
-                android:clickable="true"
-                android:ellipsize="marquee"
-                android:gravity="center"
-                android:onClick="onTextClick"
-                android:paddingLeft="20dip"
-                android:paddingRight="20dip"
-                android:singleLine="true"
-                android:text="@string/title"
-                android:textColor="#ffffff"
-                android:textSize="20sp" />
-
-            <TextView
-                android:id="@+id/artist"
-                android:layout_width="fill_parent"
-                android:layout_height="wrap_content"
-                android:layout_marginBottom="4dip"
-                android:clickable="true"
-                android:ellipsize="marquee"
-                android:gravity="center"
-                android:onClick="onTextClick"
-                android:paddingLeft="20dip"
-                android:paddingRight="20dip"
-                android:singleLine="true"
-                android:text="@string/artist"
-                android:textColor="#888888"
-                android:textSize="18sp" />
-
-            <TextView
-                android:id="@+id/album"
-                android:layout_width="fill_parent"
-                android:layout_height="wrap_content"
-                android:clickable="true"
-                android:ellipsize="marquee"
-                android:gravity="center"
-                android:onClick="onTextClick"
-                android:paddingLeft="20dip"
-                android:paddingRight="20dip"
-                android:singleLine="true"
-                android:text="@string/album"
-                android:textColor="#888888"
-                android:textSize="18sp" />
-        </LinearLayout>
-
-        <LinearLayout
-            android:layout_width="wrap_content"
-            android:layout_height="fill_parent"
-            android:orientation="vertical" >
-
-            <ImageButton
-                android:id="@+id/shuffle"
-                android:layout_width="40dip"
-                android:layout_height="40dip"
-                android:layout_gravity="center_horizontal"
-                android:layout_marginTop="10dip"
-                android:background="#00000000"
-                android:contentDescription="@string/shuffle"
-                android:onClick="onShuffleClick"
-                android:scaleType="fitXY"
-                android:src="@drawable/ic_shuffle" />
-
-            <ImageButton
-                android:id="@+id/repeat"
-                android:layout_width="40dip"
-                android:layout_height="40dip"
-                android:layout_gravity="center_horizontal"
-                android:layout_marginTop="10dip"
-                android:background="#00000000"
-                android:contentDescription="@string/repeat"
-                android:onClick="onRepeatClick"
-                android:scaleType="fitXY"
-                android:src="@drawable/ic_repeat" />
-
-            <ImageButton
-                android:id="@+id/adv_function"
-                android:layout_width="35dp"
-                android:layout_height="35dp"
-                android:layout_marginTop="20dp"
-                android:layout_gravity="center"
-                android:onClick="showAdvancedOptions"
-                android:background="#00000000"
-                android:scaleType="fitXY"
-                android:src="@drawable/dots" />
-
-        </LinearLayout>
-    </LinearLayout>
-
-    <LinearLayout
-        android:layout_width="fill_parent"
-        android:layout_height="wrap_content"
-        android:layout_margin="0dip"
-        android:gravity="center"
-        android:orientation="horizontal">
-
-        <ImageButton
-            android:id="@+id/previous"
-            android:layout_width="60dip"
-            android:layout_height="60dip"
-            android:background="@android:color/transparent"
-            android:contentDescription="@string/previous"
-            android:onClick="onPreviousClick"
-            android:scaleType="fitXY"
-            android:src="@drawable/ic_backward" />
-
-        <ImageButton
-            android:id="@+id/play_pause"
-            android:layout_width="60dip"
-            android:layout_height="60dip"
-            android:layout_marginLeft="10dip"
-            android:layout_marginRight="10dip"
-            android:background="@android:color/transparent"
-            android:contentDescription="@string/pause"
-            android:onClick="onPlayPauseClick"
-            android:scaleType="fitXY"
-            android:src="@drawable/ic_pause" />
-
-        <ImageButton
-            android:id="@+id/stop"
-            android:layout_width="60dip"
-            android:layout_height="60dip"
-            android:layout_marginLeft="10dip"
-            android:layout_marginRight="10dip"
-            android:background="@android:color/transparent"
-            android:contentDescription="@string/stop"
-            android:onClick="onStopClick"
-            android:scaleType="fitXY"
-            android:src="@drawable/ic_stop" />
-
-        <ImageButton
-            android:id="@+id/next"
-            android:layout_width="60dip"
-            android:layout_height="60dip"
-            android:background="@android:color/transparent"
-            android:contentDescription="@string/next"
-            android:onClick="onNextClick"
-            android:scaleType="fitXY"
-            android:src="@drawable/ic_forward" />
-
-    </LinearLayout>
-
-</LinearLayout>



More information about the Android mailing list