summaryrefslogtreecommitdiffhomepage
path: root/app/src/main
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
commit8fed4e2a51e08bb2d424e34bbd6c7daec3ff50dd (patch)
treee2e54e81dbe15723ff1708ea3b2bbb8f486340ae /app/src/main
parent9eb79e03dd24abbb7af89e3aaf2c66e4bc0a29ec (diff)
ConfigListFragment: Prevent config names from wrapping
Diffstat (limited to 'app/src/main')
-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}" />