Commit graph

1548 commits

Author SHA1 Message Date
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
BlackyHawky
4d071e294c
Add missing French translations (#442) 2024-01-28 11:10:05 +01:00
Helium314
c8f99e67e8 warn about submitting new PRs until package is renamed 2024-01-28 11:06:51 +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
bf1f024082 remove unused hu_rZZ resources, move some stuff to normal hu
and fix hi_rZZ to use language tag instead
2024-01-28 10:49:09 +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
93dfecfe9e update readme and layout info 2024-01-26 20:42:39 +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
ac71f8724f adjust issue templates
mention that issue might alredy be mentioned in the readme
2024-01-26 05:43:41 +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
BlackyHawky
a058190b1d
Rounded icons (#438)
---------

Co-authored-by: arcarum <134963929+arcarum@users.noreply.github.com>
2024-01-23 20:47:34 +01:00
Helium314
64f6e70717 add missed gu locale key texts 2024-01-23 20:42:11 +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
BlackyHawky
ab712e262f
French translations added (#430) 2024-01-21 19:29:02 +01:00
BlackyHawky
675fc08b83
Improve switch alignment for layout list (#431) 2024-01-21 19:28:46 +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
BlackyHawky
c81f7fc59b
Update the description of hidden features (#424) 2024-01-20 15:32:49 +01:00
Helium314
21d1df9da3 fix #407 2024-01-20 15:14:35 +01:00
Helium314
96ad9482fb some cleanup after increasing required api level 2024-01-18 16:27:22 +01:00
Helium314
ffea3271f9 remove emoji, symbol and accented letter descriptions
related code was labeled with 10 year old TODO to remove it "once TTS supports emoji verbalization"
web search strongly indicates this has been solved several years ago
further, only ~1200 out of ~4000 emojis actually had a description, so state is bad anyway
2024-01-18 14:56:27 +01:00
Helium314
c9d52e8090 add home, end and select word toolbar keys, fixes #409 2024-01-18 10:18:22 +01:00
Helium314
e8e4354600 only ignore TYPE_TEXT_FLAG_NO_SUGGESTIONS when user explicitly wants it 2024-01-17 09:09:33 +01:00
Helium314
9e94aa1143 add log when toolbar key is pressed, should help with #391 2024-01-16 21:06:42 +01:00
arcarum
27477fe002
Fix incorrect alert dialog behavior when dismissing (#420) 2024-01-16 20:57:14 +01:00