Jules Aguillon
dfec26a93b
Swap the Enter and Action keys when needed
...
When IME_FLAG_NO_ENTER_ACTION is set.
2022-01-10 00:27:22 +01:00
Jules Aguillon
53113cadd9
Add the Action key
...
It is placed on the top-right of the enter key on every layouts.
It sends a special event (performEditorAction) instead of writing a
newline.
The "actionId" is passed through the EditorInfo object in an obfuscated
way so it's not clear whether it's using the right one.
2022-01-09 20:26:06 +01:00
Jules Aguillon
1cfecbdf48
Auto-format Java and XML files
...
Use xmllint.
Re-indent Java files using spaces.
2021-12-19 19:44:27 +01:00
Jules Aguillon
ec5cda0ce6
Slightly reduce the size of the bottom row
2021-04-29 01:11:18 +02:00
Jules Aguillon
81803c406a
Separate handling of modifiers from KeyValue class
...
KeyValue defines an ADT and some of its values, it now contains public
final fields and no internal logic.
KeyModifier handles modifiers and accents and creates new instances of
KeyValue when needed.
This operation is now properly cached.
2021-04-18 23:28:49 +02:00
Jules Aguillon
f8bce500ff
Hide the input switching key if it's not needed
...
Android has a new way of switching between input methods and this key
need to be hidden in most cases.
2021-04-18 00:55:31 +02:00
Jules Aguillon
1421bccc7b
Remove fixed keyboard width
...
Remove the constant of keys per rows. Add the 'shift' attribute to
declare eventual alignment/blanks in layouts.
2021-04-17 23:56:51 +02:00
Jules Aguillon
c22ca7302c
Stateless KeyboardData class
...
It was a pain to use. It was also a pain to write this though.
2021-04-15 23:23:31 +02:00
Jules Aguillon
eac74d3f22
Add an option to toggle accent keys
...
These keys are not useful at all in English. A new option allows to hide
them, [false] by default.
2021-04-13 02:00:08 +02:00
juloo
3b7141e3a0
Stop storing keydown data in KeyboardData.Key
2015-08-01 18:21:10 +02:00
juloo
2537a7b221
Replace key_margin with key_bg_padding + Add {vertical,horizontal}_margin
2015-08-01 01:36:41 +02:00
juloo
45ea215bb6
Create KeyboardData class and handle move on keys
2015-07-31 20:48:19 +02:00