diff --git a/app/src/main/java/com/gazlaws/codeboard/CodeBoardIME.java b/app/src/main/java/com/gazlaws/codeboard/CodeBoardIME.java index e52504c..0f3e6dc 100644 --- a/app/src/main/java/com/gazlaws/codeboard/CodeBoardIME.java +++ b/app/src/main/java/com/gazlaws/codeboard/CodeBoardIME.java @@ -422,6 +422,11 @@ public void onRelease(int primaryCode) { public void onKeyLongPress(int keyCode) { InputConnection ic = getCurrentInputConnection(); + //Popup input method picker when the SYM key is long pressed + if (keyCode == -1) { + InputMethodManager imeManager = (InputMethodManager) getApplicationContext().getSystemService(Context.INPUT_METHOD_SERVICE); + imeManager.showInputMethodPicker(); + } if (keyCode == 32) { // Space button long press if (currentLayoutIndex == 0) {