From 934e1b1f4f9d95cd3b937a32ac7f74b38f71d9fb Mon Sep 17 00:00:00 2001 From: Stephen J Sweeney Date: Sun, 4 Feb 2018 09:54:14 +0000 Subject: [PATCH] Show album name on Four Long Widget. (#724) * When in Album Shuffle mode, enqueue all tracks from the same album at once. * Replaced getRandomSong() with getRandomSongs(). Queue shrink can always be 20, without issue. * Updated comment text. * Grab the first song, not the last. * Use a do-while loop for adding all the album songs. * Show the album name on the FourLongWidget. --- res/layout/four_long_widget.xml | 15 +++++++++++++-- .../android/vanilla/FourLongWidget.java | 8 ++++++-- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/res/layout/four_long_widget.xml b/res/layout/four_long_widget.xml index 7eee4969..9a4a469f 100644 --- a/res/layout/four_long_widget.xml +++ b/res/layout/four_long_widget.xml @@ -48,7 +48,7 @@ THE SOFTWARE. android:layout_width="fill_parent" android:layout_height="wrap_content" android:textColor="#fff" - android:textSize="20sp" + android:textSize="16sp" android:textStyle="bold" android:singleLine="true" android:fadingEdge="horizontal" @@ -60,7 +60,18 @@ THE SOFTWARE. android:layout_width="fill_parent" android:layout_height="wrap_content" android:textColor="#fff" - android:textSize="16sp" + android:textSize="14sp" + android:singleLine="true" + android:fadingEdge="horizontal" + android:fadingEdgeLength="10dip" + android:ellipsize="none" /> +