abouttreesummaryrefslogcommitdiff
path: root/res/layout/keyboard.xml
AgeCommit message (Collapse)AuthorFilesLines
7 daysEmoji suggestion (#1235)Jules Aguillon1-3/+4
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-4/+4
The font size of the suggested words is reduced if the word would otherwise split on two lines.
2026-02-01Candidates view improvements (#1168)Jules Aguillon1-2/+2
* 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-1/+8
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.
2021-12-30Add themesJules Aguillon1-1/+1
Add a "Theme" option to choose between a dark and light theme. The light theme uses the colors of the dark theme with the luminance inversed. The reloading after a configuration change is changed slightly: - Special handling is needed when the Theme is changed (recreate the views) - The default implementation of 'onConfigurationChanged' is used Which triggers more refresh (but don't recreate the views) - 'onCreateInputView' is no longer needed
2021-12-28Use the themes abstractionJules Aguillon1-1/+1
Themes replace 'colors.xml' and soon will replace 'dimens.xml'.
2021-12-19Auto-format Java and XML filesJules Aguillon1-4/+1
Use xmllint. Re-indent Java files using spaces.
2015-10-23Start with emojisjaguillo1-0/+5