chrisboyle / sgtpuzzles

Android port of Simon Tatham's Puzzles
https://chris.boyle.name/puzzles
Other
586 stars 167 forks source link

Keyboard/KeyboardView deprecation #532

Closed chrisboyle closed 9 months ago

chrisboyle commented 2 years ago

Following on from #376, the classes Keyboard and KeyboardView are deprecated and should be replaced (without changing the license of the project => without copying Android's classes).

chrisboyle commented 2 years ago

See also #302 which would likely be easier in a fresh implementation.

chrisboyle commented 2 years ago

Another thing to consider: at least one user actually liked the way the long-press toggle could be activated by tapping beside the button. I don't want to reintroduce such hidden functionality but maybe just optionally make that key wider.

chrisboyle commented 9 months ago

I've replaced the keyboard with a Compose implementation, in this range of commits. The main new file is Buttons.kt.