forked from upstream-mirrors/quik
Change string, readd flags
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user