diff --git a/app/src/main/kotlin/com/simplemobiletools/keyboard/activities/SettingsActivity.kt b/app/src/main/kotlin/com/simplemobiletools/keyboard/activities/SettingsActivity.kt index ea97c3b..2a56bd8 100644 --- a/app/src/main/kotlin/com/simplemobiletools/keyboard/activities/SettingsActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/keyboard/activities/SettingsActivity.kt @@ -118,6 +118,7 @@ class SettingsActivity : SimpleActivity() { RadioItem(LANGUAGE_SPANISH, getKeyboardLanguageText(LANGUAGE_SPANISH)), RadioItem(LANGUAGE_BULGARIAN, getKeyboardLanguageText(LANGUAGE_BULGARIAN)), RadioItem(LANGUAGE_TURKISH_Q, getKeyboardLanguageText(LANGUAGE_TURKISH_Q)), + RadioItem(LANGUAGE_LITHUANIAN, getKeyboardLanguageText(LANGUAGE_LITHUANIAN)), ) RadioGroupDialog(this@SettingsActivity, items, config.keyboardLanguage) { @@ -139,6 +140,7 @@ class SettingsActivity : SimpleActivity() { LANGUAGE_ROMANIAN -> getString(R.string.translation_romanian) LANGUAGE_BULGARIAN -> getString(R.string.translation_bulgarian) LANGUAGE_TURKISH_Q -> "${getString(R.string.translation_turkish)} (Q)" + LANGUAGE_LITHUANIAN -> getString(R.string.translation_lithuanian) else -> "${getString(R.string.translation_english)} (QWERTY)" } } diff --git a/app/src/main/kotlin/com/simplemobiletools/keyboard/helpers/Constants.kt b/app/src/main/kotlin/com/simplemobiletools/keyboard/helpers/Constants.kt index d5e2263..55dff42 100644 --- a/app/src/main/kotlin/com/simplemobiletools/keyboard/helpers/Constants.kt +++ b/app/src/main/kotlin/com/simplemobiletools/keyboard/helpers/Constants.kt @@ -28,6 +28,7 @@ const val LANGUAGE_ROMANIAN = 7 const val LANGUAGE_SLOVENIAN = 8 const val LANGUAGE_BULGARIAN = 9 const val LANGUAGE_TURKISH_Q = 10 +const val LANGUAGE_LITHUANIAN = 11 const val EMOJI_SPEC_FILE_PATH = "media/emoji_spec.txt" 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 1e91341..3aa2028 100644 --- a/app/src/main/kotlin/com/simplemobiletools/keyboard/services/SimpleKeyboardIME.kt +++ b/app/src/main/kotlin/com/simplemobiletools/keyboard/services/SimpleKeyboardIME.kt @@ -259,6 +259,7 @@ class SimpleKeyboardIME : InputMethodService(), MyKeyboardView.OnKeyboardActionL LANGUAGE_ROMANIAN -> R.xml.keys_letters_romanian LANGUAGE_BULGARIAN -> R.xml.keys_letters_bulgarian LANGUAGE_TURKISH_Q -> R.xml.keys_letters_turkish_q + LANGUAGE_LITHUANIAN -> R.xml.keys_letters_lithuanian else -> R.xml.keys_letters_english_qwerty } } diff --git a/app/src/main/res/xml/keys_letters_lithuanian.xml b/app/src/main/res/xml/keys_letters_lithuanian.xml new file mode 100644 index 0000000..5ea3ffd --- /dev/null +++ b/app/src/main/res/xml/keys_letters_lithuanian.xml @@ -0,0 +1,142 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +