From 7d50834a90a455b0a1b5fad9fad1c0b00d09cd25 Mon Sep 17 00:00:00 2001 From: mcarare Date: Tue, 2 Jun 2020 18:03:30 +0300 Subject: [PATCH] For #11139:Constrain title to start of checkbox and ellipsize. --- app/src/main/res/layout/collection_tab_list_row.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/main/res/layout/collection_tab_list_row.xml b/app/src/main/res/layout/collection_tab_list_row.xml index b6c9d9f023..f6d2e6362c 100644 --- a/app/src/main/res/layout/collection_tab_list_row.xml +++ b/app/src/main/res/layout/collection_tab_list_row.xml @@ -41,14 +41,15 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginStart="8dp" - android:ellipsize="none" + android:ellipsize="end" android:singleLine="true" android:textColor="?secondaryText" android:textSize="12sp" android:textStyle="bold" app:layout_constraintStart_toEndOf="@id/favicon_image" + app:layout_constraintEnd_toStartOf="@id/tab_selected_checkbox" app:layout_constraintTop_toTopOf="@id/favicon_image" - tools:text="@tools:sample/lorem" /> + tools:text="@tools:sample/lorem/random" />