abouttreesummaryrefslogcommitdiff
path: root/res/values/styles.xml
AgeCommit message (Collapse)AuthorFilesLines
7 daysEmoji suggestion (#1235)Jules Aguillon1-0/+11
Suggest an emoji in addition to the 3 suggested words when the current word matches an alias in the emoji dictionary, if available.
8 daysReduce the size of suggestions to fit (#1248)Jules Aguillon1-0/+11
The font size of the suggested words is reduced if the word would otherwise split on two lines.
2026-02-02Spell checking (#1137)Jules Aguillon1-1/+32
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 Aguillon1-1/+6
* 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.
2025-12-28Candidates viewJules Aguillon1-0/+6
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 Aguillon1-1/+1
2024-12-26Proper support for Android 15 edge-to-edge (#848)Jules Aguillon1-0/+5
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-15launcher: Show output of animated gestureJules Aguillon1-3/+19
2024-11-18launcher: Animated vector describing swipe gestureJules Aguillon1-0/+7
Replace the short video with an animated vector image that shows the swipe gesture. This is much lighter and reliable than the mp4 video, which failed to play on many devices. Source for the image of the key is in inkscape SVG format in srcs/res and is converted to an android drawable when needed. The swipe animation is hand-written.
2024-07-06Clipboard pane (#681)Jules Aguillon1-0/+34
This adds the clipboard pane, which allows to save an arbitrary number of clipboards and to paste them later. The key can be disabled in settings. Checking the "Recently copied text" checkbox will cause the keyboard to keep a temporary history of copied text. This history can only contain 3 elements which expire after 5 minutes. If this is unchecked, no history is collected. History entries can be pinned into the persisted list of pins.
2024-01-20Light and dark themes for the launcher and settingsRetrogisusDEV1-0/+1
2023-10-28Add left/right slider to the emoji paneJules Aguillon1-9/+0
This entirely changes the implementation of the bottom row in the emoji pane.
2023-04-02Launcher activity: Input boxJules Aguillon1-0/+7
For trying the keyboard without having to mess with an other app.
2022-12-11Improve emoji pane layoutJules Aguillon1-1/+3
The measurement function was wrong in some situations. Set a width for columns and properly configure the GridView.
2022-02-27Compute text size relative to key heightJules Aguillon1-3/+3
Instead of a fixed size that don't work at all for bigger screens. Other tweaks: - Use the value-land dimens to vary 'extra_horizontal_margin' - Move label size to Config, because it can change at runtime (rotation) - Slightly decrease the size of "long" symbols
2021-12-28Use the themes abstractionJules Aguillon1-4/+9
Themes replace 'colors.xml' and soon will replace 'dimens.xml'.
2021-12-19Auto-format Java and XML filesJules Aguillon1-17/+17
Use xmllint. Re-indent Java files using spaces.
2021-01-17Slightly improve emoji group buttonsJules Aguillon1-1/+3
2021-01-17Update the list of emojisJules Aguillon1-3/+0
Take the list from https://unicode.org/Public/emoji/13.1/emoji-test.txt Also change the list of groups, from the same source.
2015-10-27Improve init of emoji panejaguillo1-0/+9
2015-10-27Fix crash + Fix emoji type buttonsjaguillo1-0/+12