From 41d3156b9f8d3c34379397d0909afee65b949cfc Mon Sep 17 00:00:00 2001 From: jtagcat Date: Sat, 24 Dec 2022 03:12:14 +0200 Subject: [PATCH] add slavic_phonetic (qwerty) --- .../latin/utils/SubtypeLocaleUtils.java | 4 + app/src/main/res/values/strings.xml | 2 + .../res/xml-sw600dp/rows_slavic_phonetic.xml | 55 +++++ app/src/main/res/xml/kbd_slavic_phonetic.xml | 38 ++++ .../keyboard_layout_set_slavic_phonetic.xml | 41 ++++ .../main/res/xml/rowkeys_slavic_phonetic1.xml | 194 ++++++++++++++++++ .../main/res/xml/rowkeys_slavic_phonetic2.xml | 128 ++++++++++++ .../main/res/xml/rowkeys_slavic_phonetic3.xml | 109 ++++++++++ app/src/main/res/xml/rows_slavic_phonetic.xml | 50 +++++ 9 files changed, 621 insertions(+) create mode 100644 app/src/main/res/xml-sw600dp/rows_slavic_phonetic.xml create mode 100644 app/src/main/res/xml/kbd_slavic_phonetic.xml create mode 100644 app/src/main/res/xml/keyboard_layout_set_slavic_phonetic.xml create mode 100644 app/src/main/res/xml/rowkeys_slavic_phonetic1.xml create mode 100644 app/src/main/res/xml/rowkeys_slavic_phonetic2.xml create mode 100644 app/src/main/res/xml/rowkeys_slavic_phonetic3.xml create mode 100644 app/src/main/res/xml/rows_slavic_phonetic.xml diff --git a/app/src/main/java/rkr/simplekeyboard/inputmethod/latin/utils/SubtypeLocaleUtils.java b/app/src/main/java/rkr/simplekeyboard/inputmethod/latin/utils/SubtypeLocaleUtils.java index 751782a9d..038ccb7e8 100644 --- a/app/src/main/java/rkr/simplekeyboard/inputmethod/latin/utils/SubtypeLocaleUtils.java +++ b/app/src/main/java/rkr/simplekeyboard/inputmethod/latin/utils/SubtypeLocaleUtils.java @@ -233,6 +233,7 @@ public static List getSupportedLocales() { public static final String LAYOUT_QWERTZ = "qwertz"; public static final String LAYOUT_SERBIAN = "serbian"; public static final String LAYOUT_SERBIAN_QWERTZ = "serbian_qwertz"; + public static final String LAYOUT_SLAVIC_PHONETIC = "slavic_phonetic"; public static final String LAYOUT_SPANISH = "spanish"; public static final String LAYOUT_SWISS = "swiss"; public static final String LAYOUT_TAMIL = "tamil"; @@ -446,6 +447,9 @@ public List getSubtypes() { case LOCALE_KAZAKH: case LOCALE_KYRGYZ: case LOCALE_RUSSIAN: + addLayout(LAYOUT_EAST_SLAVIC); + addLayout(LAYOUT_SLAVIC_PHONETIC, R.string.subtype_phonetic); + break; case LOCALE_UKRAINIAN: addLayout(LAYOUT_EAST_SLAVIC); break; diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index d5ea7badc..771a29b7e 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -77,6 +77,8 @@ F Bijoy + + Phonetic Material Dark Border Material Light Border diff --git a/app/src/main/res/xml-sw600dp/rows_slavic_phonetic.xml b/app/src/main/res/xml-sw600dp/rows_slavic_phonetic.xml new file mode 100644 index 000000000..0543668d6 --- /dev/null +++ b/app/src/main/res/xml-sw600dp/rows_slavic_phonetic.xml @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/xml/kbd_slavic_phonetic.xml b/app/src/main/res/xml/kbd_slavic_phonetic.xml new file mode 100644 index 000000000..fa967334d --- /dev/null +++ b/app/src/main/res/xml/kbd_slavic_phonetic.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/xml/keyboard_layout_set_slavic_phonetic.xml b/app/src/main/res/xml/keyboard_layout_set_slavic_phonetic.xml new file mode 100644 index 000000000..bfc5e7248 --- /dev/null +++ b/app/src/main/res/xml/keyboard_layout_set_slavic_phonetic.xml @@ -0,0 +1,41 @@ + + + + + + + + + + + diff --git a/app/src/main/res/xml/rowkeys_slavic_phonetic1.xml b/app/src/main/res/xml/rowkeys_slavic_phonetic1.xml new file mode 100644 index 000000000..14826b80d --- /dev/null +++ b/app/src/main/res/xml/rowkeys_slavic_phonetic1.xml @@ -0,0 +1,194 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/xml/rowkeys_slavic_phonetic2.xml b/app/src/main/res/xml/rowkeys_slavic_phonetic2.xml new file mode 100644 index 000000000..7c370bc37 --- /dev/null +++ b/app/src/main/res/xml/rowkeys_slavic_phonetic2.xml @@ -0,0 +1,128 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/xml/rowkeys_slavic_phonetic3.xml b/app/src/main/res/xml/rowkeys_slavic_phonetic3.xml new file mode 100644 index 000000000..69b6588af --- /dev/null +++ b/app/src/main/res/xml/rowkeys_slavic_phonetic3.xml @@ -0,0 +1,109 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/xml/rows_slavic_phonetic.xml b/app/src/main/res/xml/rows_slavic_phonetic.xml new file mode 100644 index 000000000..15fd5ec0e --- /dev/null +++ b/app/src/main/res/xml/rows_slavic_phonetic.xml @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + +