Commit graph

17 commits

Author SHA1 Message Date
Helium314
e2ebd32f25 add start for layout edit dialog 2025-02-02 13:38:55 +01:00
Helium314
44eb296d38 don't use json/txt file endings for custom layouts
just determine json or simple when parsing

fixes #1034
2024-08-26 22:51:09 +02:00
Helium314
c0e3811698 don't remove the layout when switching between text and json
app still needs to be restarted when switching types
workaround for #1034, but should be fixed properly at some point
2024-08-25 19:51:39 +02:00
Helium314
1bd585ab76 update layout checking 2024-07-07 18:55:42 +02:00
Helium314
3e74a29f2e improve popup key handling and update tests
remove outdated part from layouts.md
fixes #883
2024-06-19 22:42:36 +02:00
Helium314
5b7f4dae4c clarify error messages when layout can't be saved, see #887 2024-06-18 17:51:03 +02:00
Helium314
0459971e3a add setting for customizing functional key layouts 2024-05-22 22:34:17 +02:00
Helium314
528bbb4f7f upgrade build.gradle and do some code inspection stuff 2024-05-15 22:47:24 +02:00
Helium314
ed776c3804 overhaul style of parsing layouts
and add a cache
2024-05-14 23:31:55 +02:00
Helium314
dab2fa4f42 better error message when loading invalid json layout 2024-03-12 21:48:17 +01:00
Helium314
c29eb0d03e fix wrong filename for customized json layouts 2024-03-12 14:14:16 +01:00
Helium314
a0c7b28b91 use TypedValueCompat for dp <-> px conversion 2024-03-06 20:55:47 +01:00
Helium314
5e4361b119 avoid loading uris from content resolver on main thread
because uris might point to network locations, which triggers an exception
main thread is still blocked by loading, this is purely to get around the crash (files are small, and usually stored locally)
2024-02-20 10:33:47 +01:00
Helium314
2dfc824319 allow customizing more layouts (number, phone, numpad, ...) 2024-02-20 08:44:12 +01:00
Helium314
26809444bd rename more keys to popup keys
user-facing name is already popup keys, now internal rename is done to avoid confusion and for consistency
2024-02-05 09:33:06 +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
a91a90bfbd rename package
introduces weird bugs for some reason
2024-01-31 18:32:43 +01:00
Renamed from app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/CustomLayoutUtils.kt (Browse further)