From b7992d234c1f46b1e2d12179b9b7ed6ee6ecd452 Mon Sep 17 00:00:00 2001 From: Samuel Holland Date: Thu, 24 Aug 2017 23:24:09 -0500 Subject: ConfigListFragment: Prevent config names from wrapping Signed-off-by: Jason A. Donenfeld --- app/src/main/res/layout/config_list_item.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/res/layout/config_list_item.xml b/app/src/main/res/layout/config_list_item.xml index 30553bc7..d15d48d6 100644 --- a/app/src/main/res/layout/config_list_item.xml +++ b/app/src/main/res/layout/config_list_item.xml @@ -25,6 +25,8 @@ android:layout_height="wrap_content" android:layout_alignParentStart="true" android:layout_toStartOf="@+id/config_switch" + android:ellipsize="end" + android:maxLines="1" android:text="@{item.name}" android:textStyle="@{item.primary ? Typeface.DEFAULT_BOLD : Typeface.DEFAULT}" /> -- cgit v1.2.3