Helium314
eb7333b1da
long-press symbols key for numpad
...
issue: immediately switches to symbols layout, after delay switches to numpad
2024-02-01 09:25:37 +01:00
Helium314
21254d895c
add "block offensive words" setting to spell checker settings too
...
and make sure we have settingsValues when using spell checker only
2024-02-01 08:51:17 +01:00
Helium314
d5c97a9697
follow code in popup keys
...
code will always be preferred over a|b style labels
add some tests for adjusted KeySpecParser
fixes #466
2024-02-01 07:22:41 +01:00
Helium314
f19ffa54c9
fix rtl detection
2024-02-01 06:47:40 +01:00
Helium314
40f39a70d0
some fixes
2024-01-31 19:49:50 +01:00
Helium314
a91a90bfbd
rename package
...
introduces weird bugs for some reason
2024-01-31 18:32:43 +01:00
Helium314
8c40d4f3e8
a bunch of minor fixes
2024-01-31 17:26:27 +01:00
Helium314
09803fdf92
rename prefs for more keys to popup keys
...
more internal renaming will follow (later)
2024-01-31 16:54:31 +01:00
Helium314
0c868ab22a
remove welcome video, use the image instead
...
that video is not worth 300 kB
2024-01-31 16:28:43 +01:00
Helium314
7b649eeb12
adjust backup of preferences
2024-01-30 17:32:58 +01:00
Helium314
0ba7b6370a
only use locale.toString directly where necessary
...
stick to Locale as long as possible
2024-01-30 14:23:31 +01:00
Helium314
983897e96e
lint
2024-01-29 16:00:24 +01:00
Helium314
2f5e3230d0
some adjustments / lint / unused code
2024-01-29 14:32:51 +01:00
BlackyHawky
9fb59ede63
Add dynamic colors to settings ( #454 )
2024-01-29 12:54:23 +01:00
Helium314
2beb949aed
always show typed word when autocorrect can happen
...
fixes #458
2024-01-28 20:01:34 +01:00
BlackyHawky
c761f6f357
Prevent debugging parameters from being visible after a restore ( #358 )
...
Co-authored-by: Helium314 <helium314@disroot.org>
2024-01-28 18:36:38 +01:00
Helium314
89afcfd9d3
adjust where things are stored, and improve migration from old version
...
pinned clips and library checksum are now in normal (not device protected) preferences (sensitive data)
layouts and background images are now in device protected storage (required after boot)
2024-01-28 18:05:38 +01:00
Helium314
b714fc6566
reload enabled subtypes on settings restore
2024-01-28 15:02:06 +01:00
Helium314
2020db2e63
rename some prefs and add upgrade function when coming from old app name
2024-01-28 14:23:38 +01:00
Helium314
b3a56bec10
add version upgrade function
2024-01-28 13:55:11 +01:00
Helium314
7f1a7d9007
fix wrong dictionary info shown when replacing, fixes #456
2024-01-28 13:01:21 +01:00
Helium314
4a36c646c7
fix crash reported in #459 and improve formatting
2024-01-28 12:45:58 +01:00
Helium314
10d46619f9
get rid of reflection for creating dyamic dictionary types
2024-01-28 11:00:56 +01:00
Helium314
9f36109feb
no need to backup userunigram files
...
it's just the cache for personal dictionary as read from the system
2024-01-28 10:50:26 +01:00
Helium314
ac7fb752df
Use language tags ( #445 )
...
WARNING: due to renames, your existing user history and blacklist files might not be used after this commit. If you build the app with this commit, backup and restore settings ot fix it.
Use language tags for identifying a string locale, not Locale.toString.
This allows to avoid issues with non-default scripts, e.g. we can now use `sr-Latn` instead of the `sr_ZZ` workaround.
Existing files are not renamed, but rename will happen when restoring backups.
Most of the occurrences of a locale string have been replaced with Locale where possible. One notable exception is in user dictionary settings, where the locale string must be used to retrieve contents from system personal dictionary.
Internal script IDs are switched to string as used in language tags, e.g. Latn for latin. This allows for correct interpretation of a Locale with explicitly specified script.
2024-01-28 10:42:42 +01:00
Helium314
bd534bf5c0
don't hide "with gesture typing" when it's actually available
2024-01-26 19:30:45 +01:00
Helium314
6fe4a5b6f3
enable setting key background color for key borders off, use it for pressed key background
...
useful for adding transparency with a background image
2024-01-26 19:16:57 +01:00
Helium314
b35eb64800
fix key preview showing up at wrong position in one-handed mode
2024-01-26 19:04:17 +01:00
Helium314
2226bb98a8
remove unused keyboard_background color
2024-01-26 18:52:49 +01:00
BlackyHawky
2353cf491a
Add dynamic colors when installing Openboard ( #447 )
2024-01-26 18:13:05 +01:00
Helium314
9d8a22880c
allow setting a background image (separate for day and night)
...
todo: allow setting transparent background that should only apply to pressed keys with borders disabled?
2024-01-26 16:42:35 +01:00
Helium314
fa04c393c8
remove unused code
2024-01-26 09:33:05 +01:00
Helium314
958e253c87
remove mistakenly added one-handed key form clipboard, adjust order so clear key is further left
2024-01-26 09:17:47 +01:00
Helium314
932d996c6b
more concise toScaledBitmapDrawable
2024-01-26 09:10:49 +01:00
Helium314
171c1f451b
adjust colors, so the three main view have a common background
...
also slightly changes appearance of top strip, now all views use the same background
2024-01-26 09:01:39 +01:00
Helium314
ecbee995bf
remove unnecessary stuff
2024-01-25 14:05:39 +01:00
Helium314
911c609f7c
change KeyboardTheme to kotlin
2024-01-23 21:53:42 +01:00
BlackyHawky
a270653082
Add preset colors ( #437 )
2024-01-23 20:48:27 +01:00
Helium314
4a277b8c32
replace RunInLocale with less deprecated functions
2024-01-23 20:41:36 +01:00
Helium314
8a7a41764c
disable app icon toggle also for android 10
2024-01-23 18:35:27 +01:00
Helium314
f699d16d10
correctly set starting alpha for gesture trail
2024-01-23 16:25:36 +01:00
Helium314
cb0cc4e65a
remove unused code
2024-01-23 12:43:18 +01:00
Helium314
2b1d9e6df9
add to personal dictionary only if autocorrect enablement is what the user expects
2024-01-23 12:36:35 +01:00
Helium314
0e15ee9b26
slightly tune when autocorrect is used
...
and add setting whether autocorrect should be used when not explicitly requested
2024-01-23 12:29:14 +01:00
Helium314
5348486418
use correct gesture color for night theme, fixes #441
2024-01-23 06:57:52 +01:00
Helium314
bf05980349
improve layout for gujarati, fixes #417
2024-01-21 19:24:09 +01:00
Helium314
8601b841f2
fix issues with looking up suggestions when it should not happen
...
was introduced in e8e4354600
2024-01-21 19:02:40 +01:00
Helium314
dbb966f7af
better deal with missing layouts in debug mode
2024-01-21 17:30:31 +01:00
BlackyHawky
d223864c81
Use Openboard's personal dictionary ( #322 )
...
Allows more customizablilty than default Android settings
More consistent UI (possibly depends on device and settings)
---------
Co-authored-by: Helium314 <helium314@mailbox.org>
2024-01-21 17:29:51 +01:00
Helium314
279c564c72
add gujarati layout (likely needs improvement, see #417 )
2024-01-21 11:08:29 +01:00