Commit graph

824 commits

Author SHA1 Message Date
Helium314
efffc02fed convert Colors to kotlin, move some theme-dependent logic inside colors 2023-09-06 12:15:22 +02:00
Helium314
a0d37dc3ab make holo key popup drawables whiter
by @BlackyHawky, https://github.com/Helium314/openboard/issues/110#issuecomment-1706302980
2023-09-05 14:24:23 +02:00
Helium314
0c8f1dc333 Merge branch 'hangul' into hangul_update
todo:
make it compile
move dictionary to dict repo (wordlist?)
test
2023-09-04 16:53:03 +02:00
Helium314
7eaba95f01 address some warnings, remove "state_has_morekeys" drawabled from holo key popup 2023-09-04 16:28:18 +02:00
Helium314
e6d4c4f604 fix issue with material no-border suggestion strip 2023-09-04 15:57:05 +02:00
Helium314
10753d780b add holo no border theme (wip)
issues:
small pressed drawable for emoji key and action key
black line in clipboard history
2023-09-04 15:27:17 +02:00
Helium314
6b44f24a76 add cancel button to secondary language selection dialog 2023-09-04 12:12:08 +02:00
Helium314
cc0b7927cf fix #123 2023-09-04 12:05:28 +02:00
Helium314
0055ba1c89 move some static color functions to separate file, adjust holo navbar color 2023-09-04 11:28:10 +02:00
Helium314
7b9644a9ae set background drawable for keyboardWrapperView 2023-09-04 10:59:36 +02:00
Helium314
11655eea26 add comment and deal with some warnings in code that will likely be removed 2023-09-04 10:49:38 +02:00
Helium314
42ee6639b0 update readme, small adjustments 2023-09-04 10:21:08 +02:00
BlackyHawky
454a54ada7
Popups drawables are colored white for Holo style (#132) 2023-09-04 10:20:21 +02:00
BlackyHawky
d23488191a
Bar under the selected emoji category follows accent color (#126)
This only applies to the Holo style, which is the only one to have the "categoryIndicatorEnabled" parameter set to true.
2023-09-04 10:00:00 +02:00
Helium314
fb81b8c722 reduce number of deprecation warnings for the same issue 2023-09-04 09:57:05 +02:00
Helium314
3a14893e9e reload enabled subtypes when switching "use system languages" 2023-09-04 09:50:34 +02:00
Helium314
ee5fd241ac re-use holo background drawable 2023-09-04 09:46:12 +02:00
Helium314
a757b00922 fix bad workaround for suggestion strip word background 2023-09-04 09:35:01 +02:00
Helium314
d9d1204647 update comments 2023-09-04 08:52:50 +02:00
Helium314
fe51ee5f98 fix holo action key moreKeys 2023-09-04 08:35:12 +02:00
BlackyHawky
395c4bac09
Emojis no longer have the key drawable for Holo themes (#127) 2023-09-04 07:37:38 +02:00
BlackyHawky
c4ecf7b156
Fixed the width of "ABC" key for Holo style in clipboard view (#128)
Material style isn't impacted by this modification
2023-09-03 22:37:28 +02:00
BlackyHawky
0c38c936aa
Fixed gradient drawable not used for background (#125) 2023-09-03 22:35:33 +02:00
BlackyHawky
5ec846d8f2
For Holo theme only : pinned icon follow accent color (#124) 2023-09-03 22:19:31 +02:00
BlackyHawky
25e89f7555
Fixed emoji categories icons for holo theme (#121) 2023-09-02 06:45:52 +02:00
Helium314
ba70be8b65 cleanup keyboardThemes, remove holo blue (but keep the file for now) 2023-09-01 23:01:47 +02:00
Helium314
529839b6c8 hopefully fix spell checker language detection 2023-09-01 21:54:37 +02:00
BlackyHawky
445eb37b5f
Fixed clipboard icons for holo theme (#117) 2023-09-01 20:35:56 +02:00
Helium314
136f060d6a consider contacts dictionary when removing suggestions, fixes #114 2023-09-01 20:23:54 +02:00
Helium314
6cac9e2512 use instanceof instead of comparing classes 2023-09-01 20:08:26 +02:00
Helium314
50e175509b make language settings work nicely again
now actually it's not part of preferences any more, but looks the same
2023-09-01 19:49:37 +02:00
Helium314
71187f4b32 migrate preferences to androidx (bad state... wip) 2023-09-01 18:20:09 +02:00
Helium314
70a86d9326 use appcompat dayNight theme, alertDialogs and popupMenus 2023-09-01 10:19:09 +02:00
Helium314
2a19114ccb change nullable / nonnull annotations to androidx 2023-09-01 08:08:36 +02:00
Helium314
e2d2889d81 add holo theme base on custom colors, and remove old theme selection (wip) 2023-09-01 00:35:40 +02:00
Helium314
ede5bf8f4f make custom colors always active 2023-08-31 20:49:43 +02:00
Helium314
61a73572b8 fix crash when day/night switch is removed 2023-08-31 16:05:16 +02:00
Helium314
50258ef435 remove no-dictionary warning when a fallback dictionary for the same language can be used 2023-08-31 12:20:41 +02:00
Helium314
59ce1a1cb3 set color state lists inside Colors 2023-08-31 11:52:10 +02:00
Helium314
556ff23b98 remove bad workaround
InsetDrawable is the solution I was looking for...
2023-08-31 11:21:12 +02:00
Helium314
a7a40d9ed1 set key background colors only once
no functional change, but this will allow more complicated color setting fucntions without impacting performance
2023-08-31 11:06:42 +02:00
Helium314
8916c67d15 workaround for toasts not showing up on some android versions 2023-08-30 12:03:57 +02:00
Helium314
3758cfe403 offer opening dictionary repository if no local dictionary is found when enabling a subtype 2023-08-30 11:45:30 +02:00
Helium314
b3764239b8 tune autocorrections once again 2023-08-30 09:05:29 +02:00
Helium314
963ceacec9 remove some unused strings than can be simply replaces with system strings anyway 2023-08-30 07:50:25 +02:00
Makar Razin
8b2f6270be
East Slavic translations update (#113) 2023-08-29 22:59:55 +02:00
Helium314
305fcdf221 fix too aggressive correction for words with same base latin characters 2023-08-29 22:47:59 +02:00
Helium314
e3240965a8 register app for opening .dict files (content uri only) 2023-08-29 22:26:57 +02:00
Helium314
e623d14829 better check for scripts supporting uppercase
previously language was used, which fails for hinglish
2023-08-29 12:22:39 +02:00
Helium314
cb09538b32 fix crash 2023-08-29 11:10:29 +02:00