From f5d0467daae430654ab0f4e25cb8252d35406d71 Mon Sep 17 00:00:00 2001 From: str4d Date: Thu, 12 Jun 2014 04:30:30 +0000 Subject: [PATCH] Mark email subject input field to prevent newlines --- res/layout/fragment_new_email.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/res/layout/fragment_new_email.xml b/res/layout/fragment_new_email.xml index e3d35c6..ad12660 100644 --- a/res/layout/fragment_new_email.xml +++ b/res/layout/fragment_new_email.xml @@ -27,7 +27,8 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:ems="10" - android:hint="@string/subject" /> + android:hint="@string/subject" + android:inputType="textEmailSubject" />