From eda77a47e19562b1d01777ad92bc76246a333880 Mon Sep 17 00:00:00 2001 From: tibbi Date: Thu, 14 Jul 2016 21:08:53 +0200 Subject: [PATCH] limit file or directory name to 3 lines --- app/src/main/res/layout/list_item.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/res/layout/list_item.xml b/app/src/main/res/layout/list_item.xml index a89392a7..63b9c407 100644 --- a/app/src/main/res/layout/list_item.xml +++ b/app/src/main/res/layout/list_item.xml @@ -21,6 +21,8 @@ android:layout_height="wrap_content" android:layout_alignTop="@+id/item_icon" android:layout_toRightOf="@+id/item_icon" + android:ellipsize="end" + android:maxLines="3" android:paddingLeft="@dimen/small_margin" android:paddingTop="@dimen/small_margin" android:text="Directory"/>