diff --git a/app/build.gradle b/app/build.gradle index f28d4ffe..564482c1 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -64,7 +64,7 @@ android { } dependencies { - implementation 'com.github.SimpleMobileTools:Simple-Commons:fe2610738c' + implementation 'com.github.SimpleMobileTools:Simple-Commons:49c2c3da51' kapt 'androidx.room:room-compiler:2.3.0' implementation 'androidx.room:room-runtime:2.3.0' diff --git a/app/src/main/kotlin/com/simplemobiletools/keyboard/services/SimpleKeyboardIME.kt b/app/src/main/kotlin/com/simplemobiletools/keyboard/services/SimpleKeyboardIME.kt index 64261112..e5a05cdb 100644 --- a/app/src/main/kotlin/com/simplemobiletools/keyboard/services/SimpleKeyboardIME.kt +++ b/app/src/main/kotlin/com/simplemobiletools/keyboard/services/SimpleKeyboardIME.kt @@ -33,7 +33,7 @@ class SimpleKeyboardIME : InputMethodService(), MyKeyboardView.OnKeyboardActionL override fun onInitializeInterface() { super.onInitializeInterface() - keyboard = MyKeyboard(this, R.xml.keys_letters, enterKeyType) + keyboard = MyKeyboard(this, R.xml.keys_letters_english, enterKeyType) } override fun onCreateInputView(): View { @@ -63,7 +63,7 @@ class SimpleKeyboardIME : InputMethodService(), MyKeyboardView.OnKeyboardActionL } else -> { keyboardMode = KEYBOARD_LETTERS - R.xml.keys_letters + R.xml.keys_letters_english } } @@ -137,7 +137,7 @@ class SimpleKeyboardIME : InputMethodService(), MyKeyboardView.OnKeyboardActionL R.xml.keys_symbols } else { keyboardMode = KEYBOARD_LETTERS - R.xml.keys_letters + R.xml.keys_letters_english } keyboard = MyKeyboard(this, keyboardXml, enterKeyType) keyboardView!!.setKeyboard(keyboard!!) @@ -175,7 +175,7 @@ class SimpleKeyboardIME : InputMethodService(), MyKeyboardView.OnKeyboardActionL override fun onActionUp() { if (switchToLetters) { keyboardMode = KEYBOARD_LETTERS - keyboard = MyKeyboard(this, R.xml.keys_letters, enterKeyType) + keyboard = MyKeyboard(this, R.xml.keys_letters_english, enterKeyType) val editorInfo = currentInputEditorInfo if (editorInfo != null && editorInfo.inputType != InputType.TYPE_NULL && keyboard?.mShiftState != SHIFT_ON_PERMANENT) { diff --git a/app/src/main/res/xml/keys_letters.xml b/app/src/main/res/xml/keys_letters_english.xml similarity index 100% rename from app/src/main/res/xml/keys_letters.xml rename to app/src/main/res/xml/keys_letters_english.xml