From 65a01c4459629411a666112e0144f7b538089a38 Mon Sep 17 00:00:00 2001 From: YuviPanda Date: Thu, 13 Jun 2013 20:33:44 +0000 Subject: [PATCH] Disallow newlines in multiple upload edit title window Bug: 46761 Change-Id: Ieb948364bee8828937bc488549d1dbf5ce7b6cd6 GitHub: https://github.com/wikimedia/apps-android-commons/pull/7 --- commons/res/layout/fragment_media_detail.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/commons/res/layout/fragment_media_detail.xml b/commons/res/layout/fragment_media_detail.xml index a8112d913..6a4bdbd6c 100644 --- a/commons/res/layout/fragment_media_detail.xml +++ b/commons/res/layout/fragment_media_detail.xml @@ -41,7 +41,9 @@ android:layout_width="fill_parent" android:layout_height="wrap_content" android:imeOptions="flagNoExtractUi" - android:inputType="textNoSuggestions" android:textColor="#FFFFFF"/> + android:inputType="textNoSuggestions" + android:singleLine="true" + android:textColor="#FFFFFF"/>