Commit graph

217 commits

Author SHA1 Message Date
Helium314
babbbed908 sort and highlight enabled subtypes in language settings 2023-08-27 10:07:06 +02:00
Helium314
0dc4ef8805 fix issues with language settings
don't show subtypes when using system locales
  this may not be ideal, but avoids dealing with many edge cases and is consistent with old behavior
don't return a selected subtype when it's not enabled
2023-08-27 09:41:23 +02:00
Helium314
fabc940c46 Squashed commit of the following:
change appearance preferences so only holo and new custom themes are accessible
remove old lxx themes and many of the drawables only used there (still a bunch left)
(internally) rename holo themes to match test in preferences: ICS -> HoloBlue, KLP -> HoloWhite to
2023-08-26 22:58:51 +02:00
BlackyHawky
77c0a5b4f5
Added new number pad (#81)
* Added new number pad
* keyActionFlags="noKeyPreview" added
* Displayed period + comma keys as Gboard & added symbols key
* Added currency hint for phone in portrait mode on "%" key
* Added ≠ ≈ on the = key and ± on the + key
* Moved spacebar above backspace key for phones in landscape mode
2023-08-26 08:57:46 +02:00
BlackyHawky
1dc4e07c73
Fixed missed background color of "Previous_key". (#96) 2023-08-26 08:04:12 +02:00
Helium314
514014efc8 clean up after switching to new language settings
remove settings fragments for custom input styles, secondary locale and dictionaries
remove related methods, strings and other resources
remove unused functions, mostly in RichInputMethodManager and LatinIME
address some lint warnings
2023-08-25 22:27:13 +02:00
Helium314
aa12c7abdc merge translations from openboard weblate 2023-08-25 18:17:23 +02:00
Helium314
f32395366d
Switch to new language settings (#89)
* add language settings
* move to settings instead of language selection at end of setup wizard
* allow storing enabled subtypes in preferences
* make language selection and input method picker work with new system
* deal with weird issue of getSystemLocales returning inconsistent locales
* add details text to language settings
* make usused settings inaccessible
* better deal with "zz" subtypes, move hungarian (qwerty) from method.xml so a separate aditional subtype
* scrape some strings+translations from android system + latinime
* rename strings, add comment for unused string
2023-08-25 17:33:29 +02:00
Helium314
e0c054ce09 reduce unwanted autocorrects
happens for short words following the attempts to improve #86
now the auto-correct should only happen if suggestion has already been used in this ngram context,
and should not appear again quickly after correcting back to the typed word
2023-08-21 14:08:18 +02:00
Helium314
867c039d2c fix issue with space inserted at awkward places
e.g. type "whem" and space, autocorrected tho "when"
press delete and get "whem" again
select "when" suggestion (or any other)
get " when" instead of "when"
2023-08-21 14:05:47 +02:00
Helium314
2db6d99a23 fix sliding input issues: take into account that keyboard height may change 2023-08-21 07:46:54 +02:00
Helium314
356e39921b create crash report files in debug version 2023-08-19 20:36:48 +02:00
Helium314
707a7bf48b use dictionaries with wrong country rather than none
now e.g. pt_BR locale with also use pt_PT if only pt_BR dictionary is available
2023-08-19 19:12:01 +02:00
Helium314
cee6bf65a2 update comment for color selector ideas 2023-08-19 17:46:38 +02:00
Helium314
a0c53d8f92
fix crash 2023-08-18 07:58:12 +02:00
Helium314
d878d5cde2 (hopefully) further improve situation with bad or clearly missing autocorrection 2023-08-17 16:00:41 +02:00
Helium314
50383bcbe5 don't always ignore dictionary shortcuts, but only if the alternative word has been used in this ngram context 2023-08-17 14:09:23 +02:00
Helium314
801d82aa8a improve suggestions for very high scoring words
see example with typiny "hum" and getting "him" in #86
now either it will auto-correct, but show "hum" in suggestion strip
or it will not auto-correct if "hum" has high enough score
2023-08-17 10:19:58 +02:00
BlackyHawky
cbff614672
Fix removing delete key background in emoji view (#82) 2023-08-16 20:10:21 +02:00
BlackyHawky
eed4794887
Remove suggestion appears when only 1 word is displayed (#84) 2023-08-16 18:51:38 +02:00
Helium314
50921ef8cd remove duplicate code, keep alpha when adjusting luminosity, comments 2023-08-16 18:44:14 +02:00
Helium314
146231dcb0
Add auto theme for custom themes (#79) 2023-08-16 18:41:47 +02:00
Helium314
ce0bf06545 fix deleted character still being received in getTextBeforeCursorAndDetectLaggyConnection
fixes https://github.com/openboard-team/openboard/issues/811
reproducible e.g. using https://f-droid.org/en/packages/com.farmerbb.notepad/
2023-08-14 22:17:30 +02:00
Helium314
ffa9a01a2b add option for narrower key gap 2023-08-14 19:16:43 +02:00
BlackyHawky
c92b663e5b
Update symbols "apostrophe" key: "?" is now always selected. (#77) 2023-08-13 22:43:29 +02:00
Helium314
fc93e68425 adjust way of determining suggestion strip text colors
closer to old themes
2023-08-13 22:33:53 +02:00
BlackyHawky
84040a2593
Fix color of the three dots in suggestion strip (#78) 2023-08-13 22:17:43 +02:00
BlackyHawky
0940ac0f15
Fix punctuation marks color in suggestion strip (#75) 2023-08-12 07:33:57 +02:00
BlackyHawky
5008345e05
Fix buttons colour in one-handed mode (#72) 2023-08-11 09:23:39 +02:00
Helium314
d480a6321f add comments 2023-08-11 09:03:16 +02:00
Helium314
592f4aab0c allow multilingual typing with an arbitrary number of languages
currently can't set mor than one extra language, will be enabled in language settings re-work
2023-08-11 00:58:33 +02:00
BlackyHawky
65c3972b73
Added HSL properties to lighten or darken colors (#57)
* Added HSL properties to lighten or darken colors

* Adjusted lightening and darkening value
2023-08-10 20:50:49 +02:00
BlackyHawky
b07146061b Symbols modified on "f" + "m" + "apostrophe" keys 2023-08-06 00:12:36 +02:00
BlackyHawky
9cc996c296
Resolved "Todo" in themes-lxx-base.xml and themes-lxx-base-border.xml (#51)
* Action key aspect ratio & action more keys popup partially resolved

* Action key aspect ratio & action more keys popup 100% resolved

* Todo removed for "themes-lxx-base.xml" & "themes-lxx-base-border.xml"
2023-08-03 07:35:26 +02:00
Helium314
20a1c95d8d fix bad spacebar height in some modes 2023-07-31 10:56:19 +02:00
Helium314
093280b513 fix color issues in (more) suggestions for border theme 2023-07-31 07:22:22 +02:00
Helium314
cf47f22c9e fix white suggestion strip pressed color 2023-07-30 22:25:51 +02:00
Helium314
20aa6cf057 tune colors a little 2023-07-30 20:58:46 +02:00
Helium314
d9ebf2866c put custom theme variants in some array 2023-07-30 10:39:58 +02:00
Helium314
099095e3a3 slightly adjust colors, adjust some todos 2023-07-30 09:57:43 +02:00
Helium314
d517709391 fix issue when rotating screen while keyboard is showing on some newer android versions
see https://github.com/Helium314/openboard/pull/33#issuecomment-1650487463
based on commits
  4d464ec07d
  6ae09365a5
  6c752d8eca
2023-07-30 08:58:08 +02:00
Helium314
9d8571db0f update themes to work with the new base theme
slight adjustments to base theme to work around some strange issues
start replacing old themes with color variants of the base theme
2023-07-30 08:34:29 +02:00
Helium314
d04b8a8ca7 Merge remote-tracking branch 'refs/remotes/my/new' into new 2023-07-29 18:50:42 +02:00
BlackyHawky
5ca7aec120
Add white base themes for use with custom themes (#36) 2023-07-29 18:36:50 +02:00
Md. Rifat Hasan Jihan
dd0c8e2187
Disable auto-capitalization for some languages (#38)
* Disable auto-capitalization for some languages

Layouts from these languages have different characters on default state and shift state (not just case change of normal state). So it is not necessary for these layouts to have auto-capitalization start of the typing or after sentence terminators.
Bengali, Hindi, Thai, Georgian, Khmer, Lao, Sinhala, Nepali

* added more NON_UPPERCASE_SCRIPTS
2023-07-28 23:49:35 +02:00
Helium314
2e45ae78fb fix clipboard key being colored after switching from custom to non-custom theme 2023-07-28 22:46:26 +02:00
Helium314
33b64ac34d move dictionaries and related script to a separate repository
https://codeberg.org/Helium314/aosp-dictionaries
2023-07-28 19:19:57 +02:00
Helium314
1956ca43e4 set custom text color for space bar text (language) 2023-07-28 17:49:39 +02:00
Md. Rifat Hasan Jihan
000f312bd6
Split keyboard for Bengali (Bangladesh) (#18)
* Split keyboard for Bengali (Bangladesh)

* character correction

* supportedScript="bengali"
2023-07-28 06:38:31 +02:00
Helium314
965038744b improve garbage words being created in batch input mode
this likely depends on library
2023-07-26 16:17:06 +02:00