| Age | Commit message (Collapse) | Author | Files | Lines |
|
When IME_FLAG_NO_ENTER_ACTION is set.
|
|
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.
|
|
Add the 'ß' character on the bottom-left corner of the 's' key, which is
hidden for other languages.
Co-authored-by: Moini <moini@noreply.invalid>
|
|
Add the "FLAGS_LANGS" set of flags, which will be used to hide
individual keys that are not accents.
|
|
To Fn+*
Was previously accent^+*, which was not available for most languages.
|
|
Now named "swiping distance". Changed to a dropdown.
|
|
|
|
Friendly to Amoled screens.
The background of keys is the same as the background of the whole
keyboard: pure black.
Colors are also slightly stronger.
|
|
Also, draw activated keys with a round border too.
|
|
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
|
|
Themes replace 'colors.xml' and soon will replace 'dimens.xml'.
|
|
Remove the last cast of the context.
|
|
As with the previous commit, remove casts of the context.
The "handler" object is referenced in the "config" object for now.
|
|
The goal is to remove a cast of the 'context' into 'Keyboard2'.
|
|
|
|
Don't write the tab character and always send the keycode, which is most
probably handled by applications.
|
|
The previous keycode wasn't the classical "home" movement key but
Android's actual home key, which has no effect when generated from the
keyboard.
|
|
Might happen when downgrading the app.
|
|
Use xmllint.
Re-indent Java files using spaces.
|
|
First add the 'ring' accent.
The swedish language uses the qwerty layout and three accents (aigu,
trema, ring)
|
|
The 'repeat' field of generated key events was incorrectly set to '1'.
|
|
|
|
Fn+$ and Fn+# respectively.
|
|
|
|
|
|
Seems like subtypes might not match what is declared. Must protect
against that.
|
|
API level 12 is required for "subtype" code introduced in 1.7.
This adds a fallback for older version, "subtype" features are not
available but the keyboard is usable.
Changet he minimal version to 4 to be able to query the API level.
Using integer constant for versions because that's how it's presented in
the documentation. Build.VERSION_CODES is WTF.
|
|
This replaces the "disable accent keys" checkbox.
The default should work for anyone: Accents will be hidden unless the
user has the french language installed.
The value "show every accents" is useful for versions of android that
don't have subtypes.
|
|
|
|
Add more keys under Fn. French quotes are S-<, S->, Fn-" and Fn-S-".
|
|
|
|
|
|
To help recognize them.
|
|
Reset the layout on onStartInputView.
|
|
|
|
Also change internal names for accents.
|
|
Caused by a shared Paint not correctly resetted.
|
|
This may cause key repeat continuing for a bit after the keyboard
closes.
|
|
|
|
|
|
- More intuitive placement of (), [], {} and <>.
- Move accent keys into the top-left corner, on a key they may be used with.
- Some minor changes.
|
|
Fixes:
- Toggling off a modifier was not possible in the corners (eg. accents).
- Modifiers on the same key can't be activated at the same time.
- Characters on the same key as a modifier weren't working properly.
|
|
Some versions of android don't allow to configure several languages.
|
|
Increase a bit labels size and reduce empty space between keys.
|
|
|
|
|
|
Improve Paint code.
|
|
To have cleaner values.
|
|
Allows to sent ctrl and alt combinations. Notably the ] character.
|
|
|