From 70b20f90cd80e1749c7a74efee5d47a04efa1004 Mon Sep 17 00:00:00 2001 From: Stypox Date: Mon, 4 Jul 2022 22:37:27 +0200 Subject: [PATCH] Align playlist thumbnail to left for more visibility --- app/src/main/res/layout/list_playlist_grid_item.xml | 5 ++--- app/src/main/res/layout/list_playlist_item.xml | 5 ++--- app/src/main/res/layout/list_playlist_mini_item.xml | 5 ++--- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/app/src/main/res/layout/list_playlist_grid_item.xml b/app/src/main/res/layout/list_playlist_grid_item.xml index 11ececad0..2357458ff 100644 --- a/app/src/main/res/layout/list_playlist_grid_item.xml +++ b/app/src/main/res/layout/list_playlist_grid_item.xml @@ -17,7 +17,7 @@ android:layout_alignParentTop="true" android:layout_centerHorizontal="true" android:layout_marginRight="@dimen/video_item_search_image_right_margin" - android:scaleType="fitCenter" + android:scaleType="fitStart" android:src="@drawable/dummy_thumbnail_playlist" tools:ignore="RtlHardcoded" /> @@ -26,7 +26,7 @@ android:layout_width="@dimen/playlist_item_thumbnail_stream_count_width" android:layout_height="match_parent" android:layout_alignTop="@id/itemThumbnailView" - android:layout_alignRight="@id/itemThumbnailView" + android:layout_alignEnd="@id/itemThumbnailView" android:layout_alignBottom="@id/itemThumbnailView" android:background="@color/playlist_stream_count_background_color" android:gravity="center" @@ -38,7 +38,6 @@ android:textStyle="bold" app:drawableTint="@color/duration_text_color" app:drawableTopCompat="@drawable/ic_playlist_play" - tools:ignore="RtlHardcoded" tools:text="314159" /> @@ -27,7 +27,7 @@ android:layout_width="@dimen/playlist_item_thumbnail_stream_count_width" android:layout_height="match_parent" android:layout_alignTop="@id/itemThumbnailView" - android:layout_alignRight="@id/itemThumbnailView" + android:layout_alignEnd="@id/itemThumbnailView" android:layout_alignBottom="@id/itemThumbnailView" android:background="@color/playlist_stream_count_background_color" android:gravity="center" @@ -39,7 +39,6 @@ android:textStyle="bold" app:drawableTint="@color/duration_text_color" app:drawableTopCompat="@drawable/ic_playlist_play" - tools:ignore="RtlHardcoded" tools:text="314159" /> @@ -27,7 +27,7 @@ android:layout_width="45dp" android:layout_height="match_parent" android:layout_alignTop="@id/itemThumbnailView" - android:layout_alignRight="@id/itemThumbnailView" + android:layout_alignEnd="@id/itemThumbnailView" android:layout_alignBottom="@id/itemThumbnailView" android:background="@color/playlist_stream_count_background_color" android:gravity="center" @@ -39,7 +39,6 @@ android:textStyle="bold" app:drawableTint="@color/duration_text_color" app:drawableTopCompat="@drawable/ic_playlist_play" - tools:ignore="RtlHardcoded" tools:text="3141" />