From ea294e8e5d28dac2cd6244274a4430d5f2c7163f Mon Sep 17 00:00:00 2001 From: krlvm <51774833+krlvm@users.noreply.github.com> Date: Sun, 4 Apr 2021 20:52:44 +0300 Subject: [PATCH 1/2] Add ellipsis to list stream item uploader --- app/src/main/res/layout/list_stream_item.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/res/layout/list_stream_item.xml b/app/src/main/res/layout/list_stream_item.xml index b1d3ec49b..98d235516 100644 --- a/app/src/main/res/layout/list_stream_item.xml +++ b/app/src/main/res/layout/list_stream_item.xml @@ -63,6 +63,7 @@ android:id="@+id/itemUploaderView" android:layout_width="0dp" android:layout_height="wrap_content" + android:ellipsize="end" android:lines="1" android:textAppearance="?android:attr/textAppearanceSmall" android:textSize="@dimen/video_item_search_uploader_text_size" From 425a31215100c110bfe92f90049074e90a7ae3c2 Mon Sep 17 00:00:00 2001 From: krlvm <51774833+krlvm@users.noreply.github.com> Date: Sun, 4 Apr 2021 21:07:43 +0300 Subject: [PATCH 2/2] Fix list stream item details overflow when there's free space --- app/src/main/res/layout/list_stream_item.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/res/layout/list_stream_item.xml b/app/src/main/res/layout/list_stream_item.xml index 98d235516..f30337fec 100644 --- a/app/src/main/res/layout/list_stream_item.xml +++ b/app/src/main/res/layout/list_stream_item.xml @@ -84,6 +84,7 @@ android:textSize="@dimen/video_item_search_upload_date_text_size" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="@+id/itemVideoTitleView" + app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toBottomOf="@+id/itemUploaderView" tools:text="2 years ago • 10M views" />