aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app
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
parentConfigActivity: Only use split layout on tablet-sized screens (diff)
downloadwireguard-android-8fed4e2a51e08bb2d424e34bbd6c7daec3ff50dd.tar.xz
wireguard-android-8fed4e2a51e08bb2d424e34bbd6c7daec3ff50dd.zip
ConfigListFragment: Prevent config names from wrapping
Diffstat (limited to 'app')
-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}" />