Change string, readd flags

This commit is contained in:
l3d00m
2015-09-02 13:34:35 +02:00
parent 5ebfb4d67c
commit 93d477c4b3
2 changed files with 5 additions and 2 deletions
@@ -196,11 +196,14 @@ public class ComposeView extends LinearLayout implements View.OnClickListener, L
break; break;
case 1: // new line case 1: // new line
mReplyText.setInputType(InputType.TYPE_CLASS_TEXT | mReplyText.setInputType(InputType.TYPE_CLASS_TEXT |
InputType.TYPE_TEXT_FLAG_CAP_SENTENCES |
InputType.TYPE_TEXT_VARIATION_LONG_MESSAGE); InputType.TYPE_TEXT_VARIATION_LONG_MESSAGE);
mReplyText.setSingleLine(false); mReplyText.setSingleLine(false);
break; break;
case 2: // send 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.setSingleLine(false);
mReplyText.setOnKeyListener(new OnKeyListener() { //Workaround because ACTION_SEND does not support multiline mode mReplyText.setOnKeyListener(new OnKeyListener() { //Workaround because ACTION_SEND does not support multiline mode
@Override @Override
+1 -1
View File
@@ -206,7 +206,7 @@
<string name="pref_notification_call">Call button</string> <string name="pref_notification_call">Call button</string>
<string name="pref_notification_call_summary">Call the sender of a message right from the notification</string> <string name="pref_notification_call_summary">Call the sender of a message right from the notification</string>
<string name="pref_dimiss_read">Mark as read</string> <string name="pref_dimiss_read">Mark as read</string>
<string name="pref_dismiss_read_summary">Mark as read when notification has been cleared</string> <string name="pref_dismiss_read_summary">Mark message as read when notification is cleared</string>
<string name="pref_delayed">Delayed messaging</string> <string name="pref_delayed">Delayed messaging</string>
<string name="pref_delayed_summary">Wait before sending your messages, so you have a chance to review them</string> <string name="pref_delayed_summary">Wait before sending your messages, so you have a chance to review them</string>