Add shuffle button in landscape mode.

This commit is contained in:
Antoine POPINEAU 2020-05-31 00:38:34 +02:00
parent 64c8887dcb
commit 2d3bcde242
No known key found for this signature in database
GPG Key ID: A78AC64694F84063
2 changed files with 79 additions and 72 deletions

View File

@ -97,16 +97,10 @@
android:id="@+id/now_playing_details" android:id="@+id/now_playing_details"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical">
<LinearLayout
android:id="@+id/now_playing_details_controls"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="32dp" android:layout_marginStart="32dp"
android:layout_marginEnd="32dp" android:layout_marginEnd="32dp"
android:orientation="vertical" android:orientation="vertical"
android:paddingTop="32dp"> android:paddingTop="16dp">
<TextView <TextView
android:id="@+id/now_playing_details_title" android:id="@+id/now_playing_details_title"
@ -135,7 +129,6 @@
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="16dp"
android:orientation="horizontal"> android:orientation="horizontal">
<TextView <TextView
@ -156,7 +149,7 @@
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="64dp" android:layout_height="64dp"
android:layout_marginBottom="16dp" android:layout_marginBottom="8dp"
android:gravity="center" android:gravity="center"
android:orientation="horizontal"> android:orientation="horizontal">
@ -189,6 +182,21 @@
</LinearLayout> </LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="16dp"
android:gravity="center"
android:orientation="horizontal">
<ImageButton
android:id="@+id/now_playing_details_repeat"
style="@style/IconButton"
android:layout_width="28dp"
android:layout_height="28dp"
android:contentDescription="@string/control_next"
android:src="@drawable/repeat" />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>

View File

@ -176,7 +176,6 @@
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="0dp"
android:orientation="horizontal"> android:orientation="horizontal">
<TextView <TextView