Align playlist thumbnail to left for more visibility

This commit is contained in:
Stypox 2022-07-04 22:37:27 +02:00
parent 47a2adca96
commit 70b20f90cd
No known key found for this signature in database
GPG Key ID: 4BDF1B40A49FDD23
3 changed files with 6 additions and 9 deletions

View File

@ -17,7 +17,7 @@
android:layout_alignParentTop="true" android:layout_alignParentTop="true"
android:layout_centerHorizontal="true" android:layout_centerHorizontal="true"
android:layout_marginRight="@dimen/video_item_search_image_right_margin" android:layout_marginRight="@dimen/video_item_search_image_right_margin"
android:scaleType="fitCenter" android:scaleType="fitStart"
android:src="@drawable/dummy_thumbnail_playlist" android:src="@drawable/dummy_thumbnail_playlist"
tools:ignore="RtlHardcoded" /> tools:ignore="RtlHardcoded" />
@ -26,7 +26,7 @@
android:layout_width="@dimen/playlist_item_thumbnail_stream_count_width" android:layout_width="@dimen/playlist_item_thumbnail_stream_count_width"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_alignTop="@id/itemThumbnailView" android:layout_alignTop="@id/itemThumbnailView"
android:layout_alignRight="@id/itemThumbnailView" android:layout_alignEnd="@id/itemThumbnailView"
android:layout_alignBottom="@id/itemThumbnailView" android:layout_alignBottom="@id/itemThumbnailView"
android:background="@color/playlist_stream_count_background_color" android:background="@color/playlist_stream_count_background_color"
android:gravity="center" android:gravity="center"
@ -38,7 +38,6 @@
android:textStyle="bold" android:textStyle="bold"
app:drawableTint="@color/duration_text_color" app:drawableTint="@color/duration_text_color"
app:drawableTopCompat="@drawable/ic_playlist_play" app:drawableTopCompat="@drawable/ic_playlist_play"
tools:ignore="RtlHardcoded"
tools:text="314159" /> tools:text="314159" />
<org.schabi.newpipe.views.NewPipeTextView <org.schabi.newpipe.views.NewPipeTextView

View File

@ -18,7 +18,7 @@
android:layout_alignParentLeft="true" android:layout_alignParentLeft="true"
android:layout_alignParentTop="true" android:layout_alignParentTop="true"
android:layout_marginRight="@dimen/video_item_search_image_right_margin" android:layout_marginRight="@dimen/video_item_search_image_right_margin"
android:scaleType="fitCenter" android:scaleType="fitStart"
android:src="@drawable/dummy_thumbnail_playlist" android:src="@drawable/dummy_thumbnail_playlist"
tools:ignore="RtlHardcoded" /> tools:ignore="RtlHardcoded" />
@ -27,7 +27,7 @@
android:layout_width="@dimen/playlist_item_thumbnail_stream_count_width" android:layout_width="@dimen/playlist_item_thumbnail_stream_count_width"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_alignTop="@id/itemThumbnailView" android:layout_alignTop="@id/itemThumbnailView"
android:layout_alignRight="@id/itemThumbnailView" android:layout_alignEnd="@id/itemThumbnailView"
android:layout_alignBottom="@id/itemThumbnailView" android:layout_alignBottom="@id/itemThumbnailView"
android:background="@color/playlist_stream_count_background_color" android:background="@color/playlist_stream_count_background_color"
android:gravity="center" android:gravity="center"
@ -39,7 +39,6 @@
android:textStyle="bold" android:textStyle="bold"
app:drawableTint="@color/duration_text_color" app:drawableTint="@color/duration_text_color"
app:drawableTopCompat="@drawable/ic_playlist_play" app:drawableTopCompat="@drawable/ic_playlist_play"
tools:ignore="RtlHardcoded"
tools:text="314159" /> tools:text="314159" />
<org.schabi.newpipe.views.NewPipeTextView <org.schabi.newpipe.views.NewPipeTextView

View File

@ -18,7 +18,7 @@
android:layout_alignParentLeft="true" android:layout_alignParentLeft="true"
android:layout_alignParentTop="true" android:layout_alignParentTop="true"
android:layout_marginRight="@dimen/video_item_search_image_right_margin" android:layout_marginRight="@dimen/video_item_search_image_right_margin"
android:scaleType="fitCenter" android:scaleType="fitStart"
android:src="@drawable/dummy_thumbnail_playlist" android:src="@drawable/dummy_thumbnail_playlist"
tools:ignore="RtlHardcoded" /> tools:ignore="RtlHardcoded" />
@ -27,7 +27,7 @@
android:layout_width="45dp" android:layout_width="45dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_alignTop="@id/itemThumbnailView" android:layout_alignTop="@id/itemThumbnailView"
android:layout_alignRight="@id/itemThumbnailView" android:layout_alignEnd="@id/itemThumbnailView"
android:layout_alignBottom="@id/itemThumbnailView" android:layout_alignBottom="@id/itemThumbnailView"
android:background="@color/playlist_stream_count_background_color" android:background="@color/playlist_stream_count_background_color"
android:gravity="center" android:gravity="center"
@ -39,7 +39,6 @@
android:textStyle="bold" android:textStyle="bold"
app:drawableTint="@color/duration_text_color" app:drawableTint="@color/duration_text_color"
app:drawableTopCompat="@drawable/ic_playlist_play" app:drawableTopCompat="@drawable/ic_playlist_play"
tools:ignore="RtlHardcoded"
tools:text="3141" /> tools:text="3141" />
<org.schabi.newpipe.views.NewPipeTextView <org.schabi.newpipe.views.NewPipeTextView