From e5547458696a85fea893e5fd99eccd54ff56ee97 Mon Sep 17 00:00:00 2001 From: Aleksandras Kostarevas Date: Sun, 7 Jan 2024 14:27:12 +0200 Subject: [PATCH] Add popup symbols for qwerty --- java/res/values/themes-lxx-dark.xml | 1 + java/res/values/themes-lxx-light.xml | 1 + java/res/xml/rowkeys_qwerty2_left5.xml | 12 +++++++++++- java/res/xml/rowkeys_qwerty2_right4.xml | 8 ++++++++ java/res/xml/rowkeys_qwerty3_left4.xml | 8 ++++++++ java/res/xml/rowkeys_qwerty3_right3.xml | 10 ++++++++-- .../keyboard/internal/KeyboardTextsTable.java | 2 +- 7 files changed, 38 insertions(+), 4 deletions(-) diff --git a/java/res/values/themes-lxx-dark.xml b/java/res/values/themes-lxx-dark.xml index 2b53e747f..126d24aea 100644 --- a/java/res/values/themes-lxx-dark.xml +++ b/java/res/values/themes-lxx-dark.xml @@ -48,6 +48,7 @@ @drawable/btn_keyboard_spacebar_lxx_dark @color/key_text_color_lxx_dark @color/key_functional_text_color_lxx_dark + @color/key_text_color_lxx_dark @color/key_text_color_lxx_dark @color/key_hint_letter_color_lxx_dark @color/key_text_inactive_color_lxx_dark diff --git a/java/res/values/themes-lxx-light.xml b/java/res/values/themes-lxx-light.xml index aac14fa41..f11e45ff7 100644 --- a/java/res/values/themes-lxx-light.xml +++ b/java/res/values/themes-lxx-light.xml @@ -48,6 +48,7 @@ @drawable/btn_keyboard_spacebar_lxx_light @color/key_text_color_lxx_light @color/key_text_inactive_color_lxx_light + @color/key_text_color_lxx_light @color/key_functional_text_color_lxx_light @color/key_hint_letter_color_lxx_light @color/key_text_inactive_color_lxx_light diff --git a/java/res/xml/rowkeys_qwerty2_left5.xml b/java/res/xml/rowkeys_qwerty2_left5.xml index 540b29b49..cfd1a500b 100644 --- a/java/res/xml/rowkeys_qwerty2_left5.xml +++ b/java/res/xml/rowkeys_qwerty2_left5.xml @@ -23,16 +23,26 @@ > + latin:keySpec="f" + latin:keyHintLabel="%" + latin:additionalMoreKeys="%" /> diff --git a/java/res/xml/rowkeys_qwerty2_right4.xml b/java/res/xml/rowkeys_qwerty2_right4.xml index 685c5b81d..555b9e344 100644 --- a/java/res/xml/rowkeys_qwerty2_right4.xml +++ b/java/res/xml/rowkeys_qwerty2_right4.xml @@ -23,14 +23,22 @@ > diff --git a/java/res/xml/rowkeys_qwerty3_left4.xml b/java/res/xml/rowkeys_qwerty3_left4.xml index 09de5a7e5..d263eeb2a 100644 --- a/java/res/xml/rowkeys_qwerty3_left4.xml +++ b/java/res/xml/rowkeys_qwerty3_left4.xml @@ -23,14 +23,22 @@ > diff --git a/java/res/xml/rowkeys_qwerty3_right3.xml b/java/res/xml/rowkeys_qwerty3_right3.xml index ccacb2cf2..dcf1f4ad4 100644 --- a/java/res/xml/rowkeys_qwerty3_right3.xml +++ b/java/res/xml/rowkeys_qwerty3_right3.xml @@ -22,10 +22,16 @@ xmlns:latin="http://schemas.android.com/apk/res/org.futo.inputmethod.latin" > + latin:keySpec="b" + latin:keyHintLabel=";" + latin:additionalMoreKeys=";" /> + latin:keySpec="m" + latin:keyHintLabel="?" + latin:additionalMoreKeys="?,/" /> diff --git a/java/src/org/futo/inputmethod/keyboard/internal/KeyboardTextsTable.java b/java/src/org/futo/inputmethod/keyboard/internal/KeyboardTextsTable.java index 96f606605..3a8018850 100644 --- a/java/src/org/futo/inputmethod/keyboard/internal/KeyboardTextsTable.java +++ b/java/src/org/futo/inputmethod/keyboard/internal/KeyboardTextsTable.java @@ -302,7 +302,7 @@ public final class KeyboardTextsTable { /* ~ additional_morekeys_symbols_0 */ /* morekeys_tablet_period */ "!text/morekeys_tablet_punctuation", /* morekeys_nordic_row2_11 */ EMPTY, - /* morekeys_punctuation */ "!autoColumnOrder!8,\\,,?,!,#,!text/keyspec_right_parenthesis,!text/keyspec_left_parenthesis,/,;,',@,:,-,\",+,\\%,&", + /* morekeys_punctuation */ "_,\\\\,|,=", /* keyspec_tablet_comma */ ",", // Period key /* keyspec_period */ ".",