app: make editor support multiline

This commit is contained in:
jkds
2026-01-02 12:33:24 +01:00
parent bcb10050df
commit 02530cc0f4

View File

@@ -22,6 +22,7 @@ MainActivity main = (MainActivity)getContext();
if (main.inpcon == null) {
EditorInfo editorInfo = new EditorInfo();
editorInfo.inputType = InputType.TYPE_CLASS_TEXT |
InputType.TYPE_TEXT_FLAG_MULTI_LINE |
InputType.TYPE_TEXT_FLAG_AUTO_CORRECT;
editorInfo.imeOptions = EditorInfo.IME_FLAG_NO_FULLSCREEN;