[Android] Audio player: move the shuffle and repeat control at the bottom of the player like in the design

Adrien Maglo git at videolan.org
Thu Nov 28 16:27:10 CET 2013


vlc-ports/android | branch: master | Adrien Maglo <magsoft at videolan.org> | Thu Nov 28 16:26:51 2013 +0100| [d7635ff62507ee27b53691d56e382fd429f1f0b5] | committer: Adrien Maglo

Audio player: move the shuffle and repeat control at the bottom of the player like in the design

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

 vlc-android/res/layout/audio_player.xml |   42 +++++++++++++++----------------
 1 file changed, 20 insertions(+), 22 deletions(-)

diff --git a/vlc-android/res/layout/audio_player.xml b/vlc-android/res/layout/audio_player.xml
index 2ac4162..15d0a74 100644
--- a/vlc-android/res/layout/audio_player.xml
+++ b/vlc-android/res/layout/audio_player.xml
@@ -46,28 +46,6 @@
         </LinearLayout>
 
         <ImageButton
-            android:id="@+id/shuffle"
-            android:layout_width="40dp"
-            android:layout_height="40dp"
-            android:background="#00000000"
-            android:contentDescription="@string/shuffle"
-            android:focusable="true"
-            android:padding="10dip"
-            android:scaleType="fitXY"
-            android:src="@drawable/ic_shuffle" />
-
-        <ImageButton
-            android:id="@+id/repeat"
-            android:layout_width="40dp"
-            android:layout_height="40dp"
-            android:background="#00000000"
-            android:contentDescription="@string/repeat"
-            android:focusable="true"
-            android:padding="10dip"
-            android:scaleType="fitXY"
-            android:src="@drawable/ic_repeat" />
-
-        <ImageButton
             android:id="@+id/adv_function"
             android:layout_width="40dp"
             android:layout_height="40dp"
@@ -139,6 +117,16 @@
         android:orientation="horizontal" >
 
         <ImageButton
+            android:id="@+id/shuffle"
+            android:layout_width="50dp"
+            android:layout_height="50dp"
+            android:background="#00000000"
+            android:contentDescription="@string/shuffle"
+            android:focusable="true"
+            android:scaleType="fitXY"
+            android:src="@drawable/ic_shuffle" />
+
+        <ImageButton
             android:id="@+id/previous"
             android:layout_width="50dp"
             android:layout_height="50dp"
@@ -181,6 +169,16 @@
             android:focusable="true"
             android:scaleType="fitXY"
             android:src="@drawable/ic_forward" />
+
+        <ImageButton
+            android:id="@+id/repeat"
+            android:layout_width="50dp"
+            android:layout_height="50dp"
+            android:background="#00000000"
+            android:contentDescription="@string/repeat"
+            android:focusable="true"
+            android:scaleType="fitXY"
+            android:src="@drawable/ic_repeat" />
     </LinearLayout>
 
 </LinearLayout>
\ No newline at end of file



More information about the Android mailing list