mirror of
https://github.com/SimpleMobileTools/Simple-Keyboard.git
synced 2025-06-05 21:49:26 +02:00
Add Turkish-Q keyboard
This commit is contained in:
@ -117,6 +117,7 @@ class SettingsActivity : SimpleActivity() {
|
|||||||
RadioItem(LANGUAGE_SLOVENIAN, getKeyboardLanguageText(LANGUAGE_SLOVENIAN)),
|
RadioItem(LANGUAGE_SLOVENIAN, getKeyboardLanguageText(LANGUAGE_SLOVENIAN)),
|
||||||
RadioItem(LANGUAGE_SPANISH, getKeyboardLanguageText(LANGUAGE_SPANISH)),
|
RadioItem(LANGUAGE_SPANISH, getKeyboardLanguageText(LANGUAGE_SPANISH)),
|
||||||
RadioItem(LANGUAGE_BULGARIAN, getKeyboardLanguageText(LANGUAGE_BULGARIAN)),
|
RadioItem(LANGUAGE_BULGARIAN, getKeyboardLanguageText(LANGUAGE_BULGARIAN)),
|
||||||
|
RadioItem(LANGUAGE_TURKISH_Q, getKeyboardLanguageText(LANGUAGE_TURKISH_Q)),
|
||||||
)
|
)
|
||||||
|
|
||||||
RadioGroupDialog(this@SettingsActivity, items, config.keyboardLanguage) {
|
RadioGroupDialog(this@SettingsActivity, items, config.keyboardLanguage) {
|
||||||
@ -137,6 +138,7 @@ class SettingsActivity : SimpleActivity() {
|
|||||||
LANGUAGE_SLOVENIAN -> getString(R.string.translation_slovenian)
|
LANGUAGE_SLOVENIAN -> getString(R.string.translation_slovenian)
|
||||||
LANGUAGE_ROMANIAN -> getString(R.string.translation_romanian)
|
LANGUAGE_ROMANIAN -> getString(R.string.translation_romanian)
|
||||||
LANGUAGE_BULGARIAN -> getString(R.string.translation_bulgarian)
|
LANGUAGE_BULGARIAN -> getString(R.string.translation_bulgarian)
|
||||||
|
LANGUAGE_TURKISH_Q -> "${getString(R.string.translation_turkish)} (Q)"
|
||||||
else -> "${getString(R.string.translation_english)} (QWERTY)"
|
else -> "${getString(R.string.translation_english)} (QWERTY)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -27,6 +27,7 @@ const val LANGUAGE_ENGLISH_DVORAK = 6
|
|||||||
const val LANGUAGE_ROMANIAN = 7
|
const val LANGUAGE_ROMANIAN = 7
|
||||||
const val LANGUAGE_SLOVENIAN = 8
|
const val LANGUAGE_SLOVENIAN = 8
|
||||||
const val LANGUAGE_BULGARIAN = 9
|
const val LANGUAGE_BULGARIAN = 9
|
||||||
|
const val LANGUAGE_TURKISH_Q = 10
|
||||||
|
|
||||||
|
|
||||||
const val EMOJI_SPEC_FILE_PATH = "media/emoji_spec.txt"
|
const val EMOJI_SPEC_FILE_PATH = "media/emoji_spec.txt"
|
||||||
|
@ -258,6 +258,7 @@ class SimpleKeyboardIME : InputMethodService(), MyKeyboardView.OnKeyboardActionL
|
|||||||
LANGUAGE_SLOVENIAN -> R.xml.keys_letters_slovenian
|
LANGUAGE_SLOVENIAN -> R.xml.keys_letters_slovenian
|
||||||
LANGUAGE_ROMANIAN -> R.xml.keys_letters_romanian
|
LANGUAGE_ROMANIAN -> R.xml.keys_letters_romanian
|
||||||
LANGUAGE_BULGARIAN -> R.xml.keys_letters_bulgarian
|
LANGUAGE_BULGARIAN -> R.xml.keys_letters_bulgarian
|
||||||
|
LANGUAGE_TURKISH_Q -> R.xml.keys_letters_turkish_q
|
||||||
else -> R.xml.keys_letters_english_qwerty
|
else -> R.xml.keys_letters_english_qwerty
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
150
app/src/main/res/xml/keys_letters_turkish_q.xml
Normal file
150
app/src/main/res/xml/keys_letters_turkish_q.xml
Normal file
@ -0,0 +1,150 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Keyboard xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||||
|
<Row app:keyWidth="8.33%p">
|
||||||
|
<Key
|
||||||
|
app:keyEdgeFlags="left"
|
||||||
|
app:keyLabel="q"
|
||||||
|
app:popupCharacters="1"
|
||||||
|
app:popupKeyboard="@xml/keyboard_popup_template"
|
||||||
|
app:topSmallNumber="1" />
|
||||||
|
<Key
|
||||||
|
app:keyLabel="w"
|
||||||
|
app:popupCharacters="2"
|
||||||
|
app:popupKeyboard="@xml/keyboard_popup_template"
|
||||||
|
app:topSmallNumber="2" />
|
||||||
|
<Key
|
||||||
|
app:keyLabel="e"
|
||||||
|
app:popupCharacters="éè3êëēę"
|
||||||
|
app:popupKeyboard="@xml/keyboard_popup_template"
|
||||||
|
app:topSmallNumber="3" />
|
||||||
|
<Key
|
||||||
|
app:keyLabel="r"
|
||||||
|
app:popupCharacters="ř4ŕ"
|
||||||
|
app:popupKeyboard="@xml/keyboard_popup_template"
|
||||||
|
app:topSmallNumber="4" />
|
||||||
|
<Key
|
||||||
|
app:keyLabel="t"
|
||||||
|
app:popupCharacters="5ť"
|
||||||
|
app:popupKeyboard="@xml/keyboard_popup_template"
|
||||||
|
app:topSmallNumber="5" />
|
||||||
|
<Key
|
||||||
|
app:keyLabel="y"
|
||||||
|
app:popupCharacters="ý6ÿ¥"
|
||||||
|
app:popupKeyboard="@xml/keyboard_popup_template"
|
||||||
|
app:topSmallNumber="6" />
|
||||||
|
<Key
|
||||||
|
app:keyLabel="u"
|
||||||
|
app:popupCharacters="űúù7ûüū"
|
||||||
|
app:popupKeyboard="@xml/keyboard_popup_template"
|
||||||
|
app:topSmallNumber="7" />
|
||||||
|
<Key
|
||||||
|
app:keyLabel="ı"
|
||||||
|
app:popupCharacters="íìî8ïī"
|
||||||
|
app:popupKeyboard="@xml/keyboard_popup_template"
|
||||||
|
app:topSmallNumber="8" />
|
||||||
|
<Key
|
||||||
|
app:keyLabel="o"
|
||||||
|
app:popupCharacters="őöóôòõ9ō"
|
||||||
|
app:popupKeyboard="@xml/keyboard_popup_template"
|
||||||
|
app:topSmallNumber="9" />
|
||||||
|
<Key
|
||||||
|
app:keyLabel="p"
|
||||||
|
app:popupCharacters="0"
|
||||||
|
app:popupKeyboard="@xml/keyboard_popup_template"
|
||||||
|
app:topSmallNumber="0" />
|
||||||
|
<Key app:keyLabel="ğ" />
|
||||||
|
<Key
|
||||||
|
app:keyEdgeFlags="right"
|
||||||
|
app:keyLabel="ü" />
|
||||||
|
</Row>
|
||||||
|
<Row app:keyWidth="8.18%p">
|
||||||
|
<Key
|
||||||
|
app:horizontalGap="5%"
|
||||||
|
app:keyEdgeFlags="left"
|
||||||
|
app:keyLabel="a"
|
||||||
|
app:popupCharacters="áàâãäåāæą"
|
||||||
|
app:popupKeyboard="@xml/keyboard_popup_template" />
|
||||||
|
<Key
|
||||||
|
app:keyLabel="s"
|
||||||
|
app:popupCharacters="śßš"
|
||||||
|
app:popupKeyboard="@xml/keyboard_popup_template" />
|
||||||
|
<Key
|
||||||
|
app:keyLabel="d"
|
||||||
|
app:popupCharacters="ďđ"
|
||||||
|
app:popupKeyboard="@xml/keyboard_popup_template" />
|
||||||
|
<Key
|
||||||
|
app:keyLabel="f"
|
||||||
|
app:popupCharacters="₣"
|
||||||
|
app:popupKeyboard="@xml/keyboard_popup_template" />
|
||||||
|
<Key app:keyLabel="g" />
|
||||||
|
<Key app:keyLabel="h" />
|
||||||
|
<Key app:keyLabel="j" />
|
||||||
|
<Key app:keyLabel="k" />
|
||||||
|
<Key
|
||||||
|
app:keyLabel="l"
|
||||||
|
app:popupCharacters="ĺľł"
|
||||||
|
app:popupKeyboard="@xml/keyboard_popup_template" />
|
||||||
|
<Key app:keyLabel="ş" />
|
||||||
|
<Key
|
||||||
|
app:keyEdgeFlags="right"
|
||||||
|
app:keyLabel="i" />
|
||||||
|
</Row>
|
||||||
|
<Row app:keyWidth="7.77%p">
|
||||||
|
<Key
|
||||||
|
app:code="-1"
|
||||||
|
app:keyEdgeFlags="left"
|
||||||
|
app:keyIcon="@drawable/ic_caps_outline_vector"
|
||||||
|
app:keyWidth="15%p" />
|
||||||
|
<Key
|
||||||
|
app:keyLabel="z"
|
||||||
|
app:popupCharacters="źžż"
|
||||||
|
app:popupKeyboard="@xml/keyboard_popup_template" />
|
||||||
|
<Key app:keyLabel="x" />
|
||||||
|
<Key
|
||||||
|
app:keyLabel="c"
|
||||||
|
app:popupCharacters="çčć¢"
|
||||||
|
app:popupKeyboard="@xml/keyboard_popup_template" />
|
||||||
|
<Key app:keyLabel="v" />
|
||||||
|
<Key app:keyLabel="b" />
|
||||||
|
<Key
|
||||||
|
app:keyLabel="n"
|
||||||
|
app:popupCharacters="ňńñ"
|
||||||
|
app:popupKeyboard="@xml/keyboard_popup_template" />
|
||||||
|
<Key app:keyLabel="m" />
|
||||||
|
<Key app:keyLabel="ö" />
|
||||||
|
<Key app:keyLabel="ç" />
|
||||||
|
<Key
|
||||||
|
app:code="-5"
|
||||||
|
app:isRepeatable="true"
|
||||||
|
app:keyEdgeFlags="right"
|
||||||
|
app:keyIcon="@drawable/ic_clear_vector"
|
||||||
|
app:keyWidth="15%p" />
|
||||||
|
</Row>
|
||||||
|
<Row>
|
||||||
|
<Key
|
||||||
|
app:code="-2"
|
||||||
|
app:keyEdgeFlags="left"
|
||||||
|
app:keyLabel="123"
|
||||||
|
app:keyWidth="15%p" />
|
||||||
|
<Key
|
||||||
|
app:keyLabel=","
|
||||||
|
app:keyWidth="10%p" />
|
||||||
|
<Key
|
||||||
|
app:code="-6"
|
||||||
|
app:keyEdgeFlags="left"
|
||||||
|
app:keyIcon="@drawable/ic_emoji_emotions_outline_vector"
|
||||||
|
app:keyWidth="8%p" />
|
||||||
|
<Key
|
||||||
|
app:code="32"
|
||||||
|
app:isRepeatable="true"
|
||||||
|
app:keyWidth="40%p" />
|
||||||
|
<Key
|
||||||
|
app:keyLabel="."
|
||||||
|
app:keyWidth="10%p" />
|
||||||
|
<Key
|
||||||
|
app:code="-4"
|
||||||
|
app:keyEdgeFlags="right"
|
||||||
|
app:keyIcon="@drawable/ic_enter_vector"
|
||||||
|
app:keyWidth="15%p" />
|
||||||
|
</Row>
|
||||||
|
</Keyboard>
|
Reference in New Issue
Block a user