From 0f10c6dd92f783b21382be194b533a00c67d5849 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sat, 26 Mar 2016 16:48:40 +0100 Subject: [PATCH] make dialog edittexts single line --- app/src/main/res/layout/rename_directory.xml | 3 ++- app/src/main/res/layout/rename_file.xml | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/app/src/main/res/layout/rename_directory.xml b/app/src/main/res/layout/rename_directory.xml index 8b61666f1..133a34bcb 100644 --- a/app/src/main/res/layout/rename_directory.xml +++ b/app/src/main/res/layout/rename_directory.xml @@ -14,6 +14,7 @@ android:id="@+id/directory_name" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginBottom="@dimen/activity_margin"/> + android:layout_marginBottom="@dimen/activity_margin" + android:singleLine="true"/> diff --git a/app/src/main/res/layout/rename_file.xml b/app/src/main/res/layout/rename_file.xml index 802ccfb91..7f8007ebe 100644 --- a/app/src/main/res/layout/rename_file.xml +++ b/app/src/main/res/layout/rename_file.xml @@ -14,7 +14,8 @@ android:id="@+id/file_name" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginBottom="@dimen/activity_margin"/> + android:layout_marginBottom="@dimen/activity_margin" + android:singleLine="true"/> + android:layout_marginBottom="@dimen/activity_margin" + android:singleLine="true"/>