From be3f9c4b150f59ee3ac2b1885dff062495e386f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20Garc=C3=ADa=20Amor?= Date: Thu, 5 Nov 2020 12:54:34 +0100 Subject: [PATCH] Set the star icon BIGGER MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Óscar García Amor --- .../src/main/res/layout/album_list_item.xml | 75 +++++++++---------- .../src/main/res/layout/download_playlist.xml | 49 ++++++------ .../src/main/res/layout/song_details.xml | 11 +-- .../src/main/res/layout/song_list_item.xml | 13 ++-- 4 files changed, 74 insertions(+), 74 deletions(-) diff --git a/ultrasonic/src/main/res/layout/album_list_item.xml b/ultrasonic/src/main/res/layout/album_list_item.xml index d6774dbc..e4129ff1 100644 --- a/ultrasonic/src/main/res/layout/album_list_item.xml +++ b/ultrasonic/src/main/res/layout/album_list_item.xml @@ -1,52 +1,51 @@ + a:orientation="horizontal" + a:layout_width="fill_parent" + a:layout_height="wrap_content" + a:minHeight="?android:attr/listPreferredItemHeight"> + a:id="@+id/album_coverart" + a:layout_width="64dp" + a:layout_height="64dp" + a:layout_gravity="left|center_vertical" + a:paddingLeft="3dip" /> + + + a:textAppearance="?android:attr/textAppearanceMedium" + a:singleLine="true" + a:ellipsize="marquee" /> - - + a:id="@+id/album_artist" + a:layout_width="wrap_content" + a:layout_height="wrap_content" + a:textAppearance="?android:attr/textAppearanceSmall" + a:singleLine="true" /> - + a:id="@+id/album_star" + a:layout_width="38dp" + a:layout_height="fill_parent" + a:gravity="center_vertical" + a:background="@android:color/transparent" + a:src="?attr/star_hollow" + a:focusable="false" + a:paddingRight="3dip" /> + diff --git a/ultrasonic/src/main/res/layout/download_playlist.xml b/ultrasonic/src/main/res/layout/download_playlist.xml index a0a43e19..39e709b5 100644 --- a/ultrasonic/src/main/res/layout/download_playlist.xml +++ b/ultrasonic/src/main/res/layout/download_playlist.xml @@ -1,34 +1,33 @@ + xmlns:a="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + a:orientation="vertical" + a:layout_width="fill_parent" + a:layout_height="fill_parent" + a:layout_weight="1"> + a:id="@+id/download_empty" + a:text="@string/download.empty" + a:layout_width="fill_parent" + a:layout_height="wrap_content" + a:padding="10dip"/> - + a:id="@+id/download_list" + a:layout_width="fill_parent" + a:layout_height="0dip" + a:layout_weight="1" + a:fastScrollEnabled="true" + a:textFilterEnabled="true" + app:drag_handle_id="@+id/song_drag" + app:remove_enabled="true" + app:remove_mode="flingRemove" + app:fling_handle_id="@+id/song_drag" + app:drag_start_mode="onMove" + app:float_background_color="?attr/color_background" + app:float_alpha="0.7" /> \ No newline at end of file diff --git a/ultrasonic/src/main/res/layout/song_details.xml b/ultrasonic/src/main/res/layout/song_details.xml index 56db6036..c2ed8e16 100644 --- a/ultrasonic/src/main/res/layout/song_details.xml +++ b/ultrasonic/src/main/res/layout/song_details.xml @@ -1,10 +1,11 @@ + a:layout_width="0dip" + a:layout_height="wrap_content" + a:layout_gravity="center_vertical" + a:layout_weight="1" + a:layout_marginLeft="4dp" + a:orientation="vertical"> + a:paddingRight="4dip"/> @@ -21,7 +21,8 @@ a:layout_width="wrap_content" a:layout_height="wrap_content" a:layout_gravity="center_vertical" - a:orientation="horizontal"> + a:orientation="horizontal" + tools:visibility="gone">