From 93d477c4b3dd8e0bb174eae2be40ce98e3eaa424 Mon Sep 17 00:00:00 2001 From: l3d00m Date: Wed, 2 Sep 2015 13:34:35 +0200 Subject: [PATCH] Change string, readd flags --- QKSMS/src/main/java/com/moez/QKSMS/ui/view/ComposeView.java | 5 ++++- QKSMS/src/main/res/values/strings.xml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/QKSMS/src/main/java/com/moez/QKSMS/ui/view/ComposeView.java b/QKSMS/src/main/java/com/moez/QKSMS/ui/view/ComposeView.java index 9d792712..92f86e75 100644 --- a/QKSMS/src/main/java/com/moez/QKSMS/ui/view/ComposeView.java +++ b/QKSMS/src/main/java/com/moez/QKSMS/ui/view/ComposeView.java @@ -196,11 +196,14 @@ public class ComposeView extends LinearLayout implements View.OnClickListener, L break; case 1: // new line mReplyText.setInputType(InputType.TYPE_CLASS_TEXT | + InputType.TYPE_TEXT_FLAG_CAP_SENTENCES | InputType.TYPE_TEXT_VARIATION_LONG_MESSAGE); mReplyText.setSingleLine(false); break; case 2: // send - mReplyText.setInputType(InputType.TYPE_CLASS_TEXT); + mReplyText.setImeOptions(EditorInfo.IME_FLAG_NO_EXTRACT_UI); + mReplyText.setInputType(InputType.TYPE_CLASS_TEXT | + InputType.TYPE_TEXT_FLAG_CAP_SENTENCES); mReplyText.setSingleLine(false); mReplyText.setOnKeyListener(new OnKeyListener() { //Workaround because ACTION_SEND does not support multiline mode @Override diff --git a/QKSMS/src/main/res/values/strings.xml b/QKSMS/src/main/res/values/strings.xml index e025a763..aa3f8975 100644 --- a/QKSMS/src/main/res/values/strings.xml +++ b/QKSMS/src/main/res/values/strings.xml @@ -206,7 +206,7 @@ Call button Call the sender of a message right from the notification Mark as read - Mark as read when notification has been cleared + Mark message as read when notification is cleared Delayed messaging Wait before sending your messages, so you have a chance to review them