From 2d3bcde242535a30d4643cac77bbb9578cd54d29 Mon Sep 17 00:00:00 2001 From: Antoine POPINEAU Date: Sun, 31 May 2020 00:38:34 +0200 Subject: [PATCH] Add shuffle button in landscape mode. --- .../res/layout-land/partial_now_playing.xml | 150 +++++++++--------- .../main/res/layout/partial_now_playing.xml | 1 - 2 files changed, 79 insertions(+), 72 deletions(-) diff --git a/app/src/main/res/layout-land/partial_now_playing.xml b/app/src/main/res/layout-land/partial_now_playing.xml index d8198a0..9e202fd 100644 --- a/app/src/main/res/layout-land/partial_now_playing.xml +++ b/app/src/main/res/layout-land/partial_now_playing.xml @@ -97,97 +97,105 @@ android:id="@+id/now_playing_details" android:layout_width="match_parent" android:layout_height="wrap_content" - android:orientation="vertical"> + android:layout_marginStart="32dp" + android:layout_marginEnd="32dp" + android:orientation="vertical" + android:paddingTop="16dp"> - + android:textColor="@color/itemTitle" + android:textSize="18sp" + tools:text="Supermassive Black Hole" /> + + + + + + + android:layout_weight="1" /> + android:layout_weight="1" + android:textAlignment="textEnd" /> - + - + - + - - - - - + app:cornerRadius="64dp" + app:icon="@drawable/play" + app:iconSize="32dp" /> - + - + - + - + diff --git a/app/src/main/res/layout/partial_now_playing.xml b/app/src/main/res/layout/partial_now_playing.xml index aab9237..5721610 100644 --- a/app/src/main/res/layout/partial_now_playing.xml +++ b/app/src/main/res/layout/partial_now_playing.xml @@ -176,7 +176,6 @@