From 9181d7c4f9624650ed580e166b5d36af70ac2b3e Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 1 Nov 2020 22:20:11 +0100 Subject: [PATCH] limit folder names to 1 line --- app/src/main/res/layout/directory_item_grid.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/res/layout/directory_item_grid.xml b/app/src/main/res/layout/directory_item_grid.xml index 5f5d03e5c..ab6ee48b3 100644 --- a/app/src/main/res/layout/directory_item_grid.xml +++ b/app/src/main/res/layout/directory_item_grid.xml @@ -61,9 +61,9 @@ android:layout_below="@+id/dir_thumbnail" android:layout_alignStart="@+id/dir_thumbnail" android:layout_toStartOf="@+id/dir_location" - android:ellipsize="end" - android:maxLines="2" + android:ellipsize="middle" android:paddingTop="@dimen/medium_margin" + android:singleLine="true" android:textColor="@android:color/white" android:textSize="@dimen/normal_text_size" />