abouttreesummaryrefslogcommitdiff
path: root/res/values
AgeCommit message (Collapse)AuthorFilesLines
2026-02-19Autocomplete on space bar and undo on delete (#1179)Jules Aguillon1-0/+2
* Refactor: Implement the space key as an editing action The space key is no longer a CHAR key but now an EDITING key. This allows changing the behavior of the space bar while allowing custom layout users to define a key outputing a space as before. KeyModifier and ComposeKey are updated to treat the space key as before. * Enter the best suggestion when the space bar is pressed * Refactor: Implement backspace as an editing action * Undo suggestion when delete is pressed The delete key (backspace internally) undoes the suggestion if the last action done was entering the suggestion with either the space bar or the candidates view. * Add an option to enable space bar autocomplete This option is off by default. Undoing a completion with backspace works in any case. * Refactor: Track selection emptyness in CurrentlyTypedWord This removes an expensive RPC call.
2026-02-02Spell checking (#1137)Jules Aguillon3-1/+273
This adds dictionary-based spell checking to the keyboard. The keyboard looks at the word being typed and matches it against a dictionary to either complete the rest of the word or find alternative spellings. The core of this feature is implemented in cdict, which is included as a submodule in vendor/cidct. Cdict is developped at https://github.com/Julow/cdict The dictionaries are hosted at https://github.com/Julow/Unexpected-Keyboard-dictionaries/ The wordlists used to build the dictionaries are the same ones used by HeliBoard from https://codeberg.org/Helium314/aosp-dictionaries - Add an activity accessible from the launcher app that lists available dictionaries with a download button. The DictionaryListView view shows the list of available dictionaries and handles downloading and installing them. - The Dictionaries class manages installed dictionaries. Dictionaries are installed as individual files into the app's private directory. - Available dictionaries are listed in dictionaries.xml, which is generated when building Unexpected-Keyboard-dictionaries. method.xml mentions the dictionary name for each locales.
2026-02-01Candidates view improvements (#1168)Jules Aguillon2-1/+11
* Refactor: Create subpackage 'suggestions' * Candidates view: Status message when no dictionary installed Show a message on the candidates view instead of leaving it empty. A button points to the dictionary installation activity. * Add an option to disable the suggestions * Refactor: Remove Config.should_show_candidates_view This was moved to EditorConfig. * Don't disable text suggestions in some text boxes * Suggestion text size matching settings The candidates view height is based on the height of keyboard rows and the suggestion text size is based on the size of labels on the keys. This is influenced by symbol size and keyboard height options.
2026-01-30Option to switch to the previously used keyboard (#1165)Jules Aguillon2-14/+26
The "Switch to the last used keyboard" is renamed to "Switching between input methods" and allows to select "Switch to last used", which was the default in older releases.
2026-01-18Fix crash when using the Monet themes on Android 9 (#1155)Jules Aguillon2-12/+23
The color resources starting with `@android:color/system_` are not available on API < 31. No effort is made to implement the Monet feature on Android 9. Instead, the monet themes look like the Dark and Light themes.
2025-12-28Candidates viewJules Aguillon2-0/+7
The `CandidatesView` is implemented as a `LinearLayout` that is divided horizontally with up to 3 `TextView`. It might in the future contain buttons on the sides. The candidate view is nested into the input view rather than using Android's `setCandidatesView` and callbacks as the API is unreliable and complicated. The first suggestion goes in the middle to be more accessible. The second suggestion goes on the right to be more accessible to the right-handed, because it must go somewhere.
2025-12-22Fix various linting issues (#1146)Jules Aguillon3-2/+11
2025-12-13Added keyboards (#1129)10Develops1-3/+15
* Delete srcs/layouts/armenian_ph_am.xml There is a phonetic layout which is used in old typewriters * Amendments according to GOST 6431-90 * Russian traditional layout cyrl_jiuken.xml * Create cyrl_yawerty.xml Added ЯВЕРТЫ layout * Update cyrl_jcuken_ru.xml Typo fixed * Added QZERTY layout for Italian and Latin
2025-11-01Turkish F layout (#1096)Autissima1-0/+3
2025-09-29Cobalt & Pine theme (#1084)wei lang3-0/+67
2025-09-29Make history duration configurable (#1074)Matej Drobnič2-0/+18
2025-09-03Python script encoding fix (#1093)Autissima1-1/+1
* Changed Python scripts so they work on my machine file open() used default encoding (cp1252 on my machine) but the text is utf-8, had to specify encoding in check_layout.py
2025-08-24add Everforest Light theme (#1080)Animesh3-0/+18
2025-08-17Slider sensitivity option and improve slider ergonimics (#1070)Jules Aguillon2-0/+14
* Add option 'Space bar slider sensitivity' * Fix slider moving the cursor twice at the beginning The slider was generating two events when first activated. Since 2bed42857. * Make slider less sensitive for the first step This moves the second slider step approximately 40% further and takes the new sensitivity option into account. Allows moving the cursor by one spot more easily.
2025-07-02Add a missing comma in /res/values/strings.xml (#1026)Joey Schaff1-1/+1
2025-07-01feat: added јcuken leyout for all slavic language (#992)Mal Bajun1-0/+3
Co-authored-by: Pavel «Mal Bajun» Skrylev <majioa@yandex.ru>
2025-07-01Fix extra bottom margin when navbar buttons absent (#1024)Jules Aguillon1-3/+0
* Fix extra bottom margin when navbar buttons absent Fix the extra space that was appearing when the gesture-navigation bar didn't contain the "switch IME" or "close IME" buttons. This was found on OneUI 7 with the two "keyboard key" related options turned off. * Remove unneeded nav bar detection and width computation
2025-06-29Add option to also disable number entry layout (#1007)Matej Drobnič2-2/+14
2025-06-19Added Macedonian language layout (#1016)David1-0/+3
2025-05-25Add icelandic layout (#999)tenextractor1-0/+3
2025-05-22Better support for foldable devices (#982)Matej Drobnič1-0/+2
* Add AndroidX WindowManager unfortunately, this seems to be the only way to get fold state, native Android APIs are internal. To add this, we need to update some dependencies, raise java version and raise compile SDK. * adds separate layouts and separate layout settings for folded and unfolded state of the device. The affected settings are: + the margin bottom settings + the horizontal margin settings + the keyboard height settings * Update shell.nix
2025-04-20Sinhala phonetic layout (#965)Anton Karmanov1-0/+3
2025-04-14strings: Improve "remove clipboard item" promptJules Aguillon1-1/+1
2025-04-14strings: Shorter name for the settings activityJules Aguillon1-1/+0
2025-04-14Remove the Share key from preferencesJules Aguillon1-1/+0
2025-03-27Remove symbols from the number row by default (#964)Jules Aguillon2-0/+13
The number row option is changed into a ListPreference and controls whether the number row contains symbols or not. Co-authored-by: Joey Schaff <j@jaoh.xyz>
2025-03-16Better material themes (#904)0skar21-13/+13
2025-03-16Pull changes from WeblateJules Aguillon1-6/+1
2025-03-08Change indentation of strings.xml files to match WeblateJules Aguillon1-130/+130
This runs sync_translations.py, which also remove uneeded comments.
2025-03-01prefs: Add 'delete_word' and 'forward_delete_word' to extra keysJules Aguillon1-0/+3
The gesture combination is mentioned. Preferred position are added.
2025-02-28APL and BQN layouts (#899)dzaima1-0/+6
* Add compact BQN layout * Add compact APL layout
2025-02-27Show a message in voice input chooser when emptyJules Aguillon1-0/+1
This avoids creating an empty dialog that appears as a mysterious white rectangle.
2025-02-15prefs: Add key description for dead keysJules Aguillon1-0/+1
2025-01-25Maltese layout (#825)tenextractor1-0/+3
2025-01-25Add Mongolian layout (#882)David Holdeman1-0/+3
2025-01-18Azerbaijani layout (#827)tenextractor1-0/+3
2025-01-02Add zwj, zwnj, nbsp, nnbsp to extra keys preferencesJules Aguillon1-0/+4
2025-01-02Lithuanian QWERTY layout (#824)tenextractor1-0/+3
2024-12-31Update kann_kannada.xml (#858)srikanban1-1/+1
* Update kann_kannada.xml Added zwnj & zwj 1. zwnj used for writing non Kannada words or names like Leo Tolstoy as ಲಿಯೊ ಟಾಲ್‌ಸ್ಟಾಯ್ (also can be written as ಲಿಯೊ ಟಾಲ್ಸ್ಟಾಯ್) 2. zwj used for writing ಅರ್ಕ as ಅರ‍್ಕ Removed unecessary symbols not present in Kannada language: 1. ∪ is a set symbol, a similar symbol is used in Carnatic music, unfortunately not present in Unicode 2. ॰ used only in Devanagari 3. • bullet, not a character or alphabet in Kannada (Can't remember why I added it, maybe because I use it personally in non markdown texts) * Update kann_kannada.xml Cleaning up more 1. Removed ※, not found in other kannada keyboards 2. Moved `:` & `;` on the key so that its easier to swipe
2024-12-29Uzbek layout (#828)tenextractor1-0/+3
2024-12-26Proper support for Android 15 edge-to-edge (#848)Jules Aguillon2-1/+10
The keyboard background now extends under the system bars and display cutout on Android 15 but the keys do not. The back and IME switching buttons that appear in the navigation bar require special care to not overlap with the keyboard. The launcher and settings activity are also fixed.
2024-12-21Estonian layout (#826)tenextractor1-0/+3
2024-12-20Make Monet (Dark) theme darker (#803)Jules Aguillon1-6/+6
2024-12-19Hindi Phonetic Keyboard Layout addition (#837)npnpatidar1-0/+3
2024-12-19Added tamil layout (#833)Jagadeeshan S1-0/+3
Signed-off-by: Jagadeeshan S <jagadeeshan.s@addverb.com>
2024-12-17Add the WORKMAN (US) layoutJules Aguillon1-0/+3
Co-authored-by: goyalyashpal <yashpalgoyal1304@gmail.com>
2024-12-15launcher: Show output of animated gestureJules Aguillon1-3/+19
2024-12-14Welsh layout (#816)tenextractor1-0/+3
2024-12-07Add support for KannadaJules Aguillon1-0/+3
Add language support for Kannada, including a layout and numerals.
2024-12-07Kazakh Cyrillic and Latin layouts (#819)tenextractor1-0/+6