summaryrefslogtreecommitdiffhomepage
path: root/app/src
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2017-08-24 23:24:09 -0500
committerSamuel Holland <samuel@sholland.org>2017-08-24 23:24:09 -0500
commitb7992d234c1f46b1e2d12179b9b7ed6ee6ecd452 (patch)
treee2e54e81dbe15723ff1708ea3b2bbb8f486340ae /app/src
parent292b16b1a190811c87d3823dcf1fd8a30bd8b4cb (diff)
ConfigListFragment: Prevent config names from wrapping
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/res/layout/config_list_item.xml2
1 files changed, 2 insertions, 0 deletions
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}" />